AgentTaskState.ClickAction 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
PendingIntent 如果单击状态栏中的状态图标,则发送。
public Android.App.PendingIntent? ClickAction { [Android.Runtime.Register("getClickAction", "()Landroid/app/PendingIntent;", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getClickAction", "()Landroid/app/PendingIntent;", "", ApiSince=37)>]
member this.ClickAction : Android.App.PendingIntent
属性值
单击元素时要执行的操作。
- 特性
注解
该操作必须以活动为目标。 在支持代理任务启动的系统上,null 操作使状态图标不可单击;不支持的系统将忽略此操作。
若要接收单击的元素的屏幕边界,请使用具有可变挂起意向 SourceBounds。