语言

Notification.DecoratedCustomViewStyle 构造函数

定义

重载

名称 说明
Notification.DecoratedCustomViewStyle()

初始化由系统修饰的自定义视图的通知样式。

Notification.DecoratedCustomViewStyle(IntPtr, JniHandleOwnership)

初始化现有 Java Native Interface 对象的托管表示形式。

Notification.DecoratedCustomViewStyle()

初始化由系统修饰的自定义视图的通知样式。

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=24)]
public DecoratedCustomViewStyle();
特性

注解

Android 参考。android.app.Notification.DecoratedCustomViewStyle.DecoratedCustomViewStyle

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

Notification.DecoratedCustomViewStyle(IntPtr, JniHandleOwnership)

初始化现有 Java Native Interface 对象的托管表示形式。

protected DecoratedCustomViewStyle(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.Notification.DecoratedCustomViewStyle : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.Notification.DecoratedCustomViewStyle

参数

javaReference
IntPtr

nativeint

Java Native Interface 对象引用。

transfer
JniHandleOwnership

要应用于 Java Native Interface 对象引用的所有权转让。

注解

当为现有Java对象创建托管对等时,此构造函数由 Android 绑定运行时的 .NET 调用。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于