语言

QuickAccessWalletService.GestureTargetActivityPendingIntent 属性

定义

指定要在用户手势上启动的。PendingIntent

public virtual Android.App.PendingIntent? GestureTargetActivityPendingIntent { [Android.Runtime.Register("getGestureTargetActivityPendingIntent", "()Landroid/app/PendingIntent;", "GetGetGestureTargetActivityPendingIntentHandler", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getGestureTargetActivityPendingIntent", "()Landroid/app/PendingIntent;", "GetGetGestureTargetActivityPendingIntentHandler", ApiSince=36)>]
member this.GestureTargetActivityPendingIntent : Android.App.PendingIntent

属性值

电子钱包手势或 null 要使用的 TargetActivityPendingIntent活动挂起意向。 如果这两个属性都返回 null,则系统使用其卡片切换器。 基本实现返回 null。

特性

注解

指定要在用户手势上启动的。PendingIntent

当用户执行手势打开电子钱包时,将发送挂起的意向。 挂起的意向应启动活动。

如果执行手势并此方法返回 null,系统将启动该方法指定的 #getTargetActivityPendingIntent 活动。 如果该方法也返回 null,系统将启动系统提供的卡片切换器活动。

Java文档android.service.quickaccesswallet.QuickAccessWalletService.getGestureTargetActivityPendingIntent()。

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

适用于