语言

NotificationManager.NotificationDelegate 属性

定义

返回可以代表你发布通知的委托(如果有)。

public virtual string? NotificationDelegate { [Android.Runtime.Register("getNotificationDelegate", "()Ljava/lang/String;", "GetGetNotificationDelegateHandler", ApiSince=29)] get; [Android.Runtime.Register("setNotificationDelegate", "(Ljava/lang/String;)V", "GetSetNotificationDelegate_Ljava_lang_String_Handler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getNotificationDelegate", "()Ljava/lang/String;", "GetGetNotificationDelegateHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setNotificationDelegate", "(Ljava/lang/String;)V", "GetSetNotificationDelegate_Ljava_lang_String_Handler", ApiSince=29)>]
member this.NotificationDelegate : string with get, set

属性值

此值可能为 null。

特性

注解

返回可以代表你发布通知的委托(如果有)。

Android 参考。android.app.NotificationManager.getNotificationDelegate

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

适用于