语言

CardEmulation.SelectionModePreferDefault 字段

定义

注意

This constant will be removed in the future version. Use Android.Nfc.CardEmulators.CardSelectionMode enum directly instead of this field.

返回值 。#getSelectionModeForCategory(String)

[Android.Runtime.Register("SELECTION_MODE_PREFER_DEFAULT")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Nfc.CardEmulators.CardSelectionMode enum directly instead of this field.", true)]
public const Android.Nfc.CardEmulators.CardSelectionMode SelectionModePreferDefault = 0;
[<Android.Runtime.Register("SELECTION_MODE_PREFER_DEFAULT")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Nfc.CardEmulators.CardSelectionMode enum directly instead of this field.", true)>]
val mutable SelectionModePreferDefault : Android.Nfc.CardEmulators.CardSelectionMode

字段值

Value = 0
特性

注解

返回值 。#getSelectionModeForCategory(String)

在此模式下,用户为此类别设置了默认服务。

使用 ISO-DEP 卡仿真 HostApduService 时,或者 OffHostApduService,如果远程 NFC 设备选择默认服务在此类别中注册的任何应用程序 ID(AID),该服务将自动绑定到处理事务。

Java文档android.nfc.cardemulation.CardEmulation.SELECTION_MODE_PREFER_DEFAULT。

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

适用于