语言

Control.StatelessBuilder.SetAppIntent(PendingIntent) 方法

定义

设置打开控件活动的挂起意向。

[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 属性许可证中所述的术语使用。

适用于