语言

Notification.LocusId 属性

定义

获取与此通知关联的 LocusId。

public virtual Android.Content.LocusId? LocusId { [Android.Runtime.Register("getLocusId", "()Landroid/content/LocusId;", "GetGetLocusIdHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getLocusId", "()Landroid/content/LocusId;", "GetGetLocusIdHandler", ApiSince=29)>]
member this.LocusId : Android.Content.LocusId

属性值

此值可能为 null。

特性

注解

获取与此通知关联的 LocusId。 由设备的智能服务用来关联相关对象(如 ShortcutInfo 和 ContentCaptureContext)。

Android 参考。android.app.Notification.getLocusId

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

适用于