语言

Notification.ExtraSelfDisplayName 字段

定义

此常量在 API 级别 28 中已弃用。

[Android.Runtime.Register("EXTRA_SELF_DISPLAY_NAME", ApiSince=24)]
public const string ExtraSelfDisplayName;
[<Android.Runtime.Register("EXTRA_SELF_DISPLAY_NAME", ApiSince=24)>]
val mutable ExtraSelfDisplayName : string

字段值

实现

特性

注解

此常量在 API 级别 28 中已弃用。 使用EXTRA_MESSAGING_PERSON

extras 键:要为用户发送的所有邮件显示用户名,包括直接答复 Notification.MessagingStyle 通知。 此额外功能是 CharSequence。

Android 参考。android.app.Notification.EXTRA_SELF_DISPLAY_NAME

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

适用于