Partager via


HostApduService.ProcessPollingFrames(IList<PollingFrame>) Method

Definition

This method is called when polling frames have been received from a remote device.

[Android.Runtime.Register("processPollingFrames", "(Ljava/util/List;)V", "GetProcessPollingFrames_Ljava_util_List_Handler", ApiSince=35)]
public virtual void ProcessPollingFrames (System.Collections.Generic.IList<Android.Nfc.CardEmulators.PollingFrame> frame);
[<Android.Runtime.Register("processPollingFrames", "(Ljava/util/List;)V", "GetProcessPollingFrames_Ljava_util_List_Handler", ApiSince=35)>]
abstract member ProcessPollingFrames : System.Collections.Generic.IList<Android.Nfc.CardEmulators.PollingFrame> -> unit
override this.ProcessPollingFrames : System.Collections.Generic.IList<Android.Nfc.CardEmulators.PollingFrame> -> unit

Parameters

frame
IList<PollingFrame>

A description of the polling frame.

Attributes

Remarks

This method is called when polling frames have been received from a remote device. If the device is in observe mode, the service should call NfcAdapter#allowTransaction() once it is ready to proceed with the transaction. If the device is not in observe mode, the service can use this polling frame information to determine how to proceed if it subsequently has #processCommandApdu(byte[], Bundle) called. The service must override this method inorder to receive polling frames, otherwise the base implementation drops the frame.

Java documentation for android.nfc.cardemulation.HostApduService.processPollingFrames(java.util.List<android.nfc.cardemulation.PollingFrame>).

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.

Applies to