CardEmulation.SelectionModeAskIfConflict 字段

定义

注意

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_ASK_IF_CONFLICT")]
[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 SelectionModeAskIfConflict = 2;
[<Android.Runtime.Register("SELECTION_MODE_ASK_IF_CONFLICT")>]
[<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 SelectionModeAskIfConflict : Android.Nfc.CardEmulators.CardSelectionMode

字段值

Value = 2
属性

注解

返回值 。#getSelectionModeForCategory(String)

在此模式下,在使用 ISO-DEP 卡仿真时HostApduServiceOffHostApduService,或者,仅当读取器选择的应用程序 ID(AID)已注册多个服务时,才会要求用户选择服务。 如果只有一个已注册 AID 的服务,则直接调用该服务。

适用于 . 的 android.nfc.cardemulation.CardEmulation.SELECTION_MODE_ASK_IF_CONFLICTJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于