hwsecurity / de.cotech.hw.util / NfcStatusObserver / NfcStatusObserver /
NfcStatusObserver
open fun NfcStatusObserver(context: Context, lifecycleOwner: LifecycleOwner, nfcStatusCallback: NfcStatusObserver.NfcStatusCallback)
Constructs an NfcStatusObserver and binds it to a Lifecycle. The NfcStatusCallback will receive callbacks whilethe lifecycle is in RESUMED state.
Note that since the observer is bound to the lifecycle, no cleanup of the callback is necessary.