CardEmulation.INfcEventCallback.OnOffHostAidSelected(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method is called when an off-host AID is selected.
[Android.Runtime.Register("onOffHostAidSelected", "(Ljava/lang/String;Ljava/lang/String;)V", "GetOnOffHostAidSelected_Ljava_lang_String_Ljava_lang_String_Handler:Android.Nfc.CardEmulators.CardEmulation/INfcEventCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=36)]
public virtual void OnOffHostAidSelected(string aid, string offHostSecureElement);
[<Android.Runtime.Register("onOffHostAidSelected", "(Ljava/lang/String;Ljava/lang/String;)V", "GetOnOffHostAidSelected_Ljava_lang_String_Ljava_lang_String_Handler:Android.Nfc.CardEmulators.CardEmulation/INfcEventCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=36)>]
abstract member OnOffHostAidSelected : string * string -> unit
override this.OnOffHostAidSelected : string * string -> unit
Parameters
- aid
- String
The AID that was selected. This value cannot be null.
- offHostSecureElement
- String
Secure Element on which the AID was routed to. Will be string with prefix SIM or prefix eSE (Reader.getName()). Ref: GSMA TS.26 - NFC Handset Requirements TS26_NFC_REQ_069: For UICC, Secure Element Name SHALL be SIM[smartcard slot] (e.g. SIM/SIM1, SIM2… SIMn). TS26_NFC_REQ_070: For embedded SE, Secure Element Name SHALL be eSE[number] (e.g. eSE/eSE1, eSE2, etc.). This value cannot be null.
- Attributes
Remarks
This method is called when an off-host AID is selected. This indicates that an offhost (Secure Element or UICC) transaction has started.
Android reference for android.nfc.cardemulation.CardEmulation.NfcEventCallback.onOffHostAidSelected.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.