Control.StatelessBuilder.SetAppIntent(PendingIntent) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置打开控件活动的挂起意向。
[Android.Runtime.Register("setAppIntent", "(Landroid/app/PendingIntent;)Landroid/service/controls/Control$StatelessBuilder;", "", ApiSince=30)]
public Android.Service.Controls.Control.StatelessBuilder SetAppIntent(Android.App.PendingIntent appIntent);
[<Android.Runtime.Register("setAppIntent", "(Landroid/app/PendingIntent;)Landroid/service/controls/Control$StatelessBuilder;", "", ApiSince=30)>]
member this.SetAppIntent : Android.App.PendingIntent -> Android.Service.Controls.Control.StatelessBuilder
参数
- appIntent
- PendingIntent
一个 PendingIntent 链接到控件的活动此值不能为 null。
返回
此值不能为 null。
- 特性
注解
Android 参考。android.service.controls.Control.StatelessBuilder.setAppIntent
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。