Class HIDTransfer
-
- All Implemented Interfaces:
-
com.scytales.mvalid.sdk.engagement.DeviceEngagementCapable
,com.scytales.mvalid.sdk.engagement.DeviceEngagementSuspendable
,com.scytales.mvalid.sdk.retrieval.TerminableTransfer
,com.scytales.mvalid.sdk.retrieval.Transfer
,com.scytales.mvalid.sdk.retrieval.TransferProgressListenable
,com.scytales.mvalid.sdk.retrieval.TransferReceiveDependent
public final class HIDTransfer implements Transfer<D>, TerminableTransfer, TransferReceiveDependent, TransferProgressListenable, DeviceEngagementCapable, DeviceEngagementSuspendable
NFC Transfer for HID Omnikey devices.
-
-
Constructor Summary
Constructors Constructor Description HIDTransfer()
-
Method Summary
Modifier and Type Method Description HIDTransfer
enableDeviceEngagement(@NonNull() ComponentActivity activity, @NonNull() DeviceEngagementCallback callback)
Enables deviceEngagement detection. HIDTransfer
suspendDeviceEngagement()
Suspend device engagement. HIDTransfer
resumeDeviceEngagement()
Resume device engagement. void
sendTermination()
Send termination. void
send(@NonNull() Request data)
Send. HIDTransfer
unsetTransferProgressListener()
Unset transfer progress listener transfer progress listenable. HIDTransfer
setTransferReceiveCallback(@NonNull() TransferReceiveCallback callback)
Sets transfer receive callback. HIDTransfer
setTransferProgressListener(@NonNull() TransferProgressListener listener)
Sets transfer progress listener. -
-
Method Detail
-
enableDeviceEngagement
HIDTransfer enableDeviceEngagement(@NonNull() ComponentActivity activity, @NonNull() DeviceEngagementCallback callback)
Enables deviceEngagement detection.
- Parameters:
activity
- the activitycallback
- the callback
-
suspendDeviceEngagement
HIDTransfer suspendDeviceEngagement()
Suspend device engagement.
-
resumeDeviceEngagement
HIDTransfer resumeDeviceEngagement()
Resume device engagement.
-
sendTermination
void sendTermination()
Send termination.
-
unsetTransferProgressListener
@NonNull() HIDTransfer unsetTransferProgressListener()
Unset transfer progress listener transfer progress listenable.
-
setTransferReceiveCallback
@NonNull() HIDTransfer setTransferReceiveCallback(@NonNull() TransferReceiveCallback callback)
Sets transfer receive callback.
- Parameters:
callback
- the callback
-
setTransferProgressListener
@NonNull() HIDTransfer setTransferProgressListener(@NonNull() TransferProgressListener listener)
Sets transfer progress listener.
- Parameters:
listener
- the listener
-
-
-
-