语言

Notification.Style 构造函数

定义

重载

名称 说明
Notification.Style()

此构造函数已弃用。

Notification.Style(IntPtr, JniHandleOwnership)

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

Notification.Style()

此构造函数已弃用。

[Android.Runtime.Register(".ctor", "()V", "")]
public Style();
特性

注解

此构造函数已弃用。 对 Style() 构造函数的公共访问仅适用于创建自定义子类,但由于隐藏的抽象方法,这实际上是不可能的,因此此构造函数现在已正式弃用,以澄清这是不允许的。

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

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

适用于

Notification.Style(IntPtr, JniHandleOwnership)

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

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

参数

javaReference
IntPtr

nativeint

Java Native Interface 对象引用。

transfer
JniHandleOwnership

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

注解

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

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

适用于