Package fi.bitwards.service
Interface BitwardsService.NFCResourceCallback
- All Known Subinterfaces:
BitwardsService.BLEResourceCallback,BitwardsService.BLEResourceConnectionStateCallback,BitwardsService.BLEResourceMaintenanceCallback
- All Known Implementing Classes:
BitwardsService.BluetoothProximityAccess
- Enclosing class:
BitwardsService
public static interface BitwardsService.NFCResourceCallback
Resource callback notifications when connecting and communicating with a resource using NFC.
Get more details here: BitwardsService.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonAccessDenied(BitwardsResource resource, int reasonCode) Access was denied to a NFC or BLE based resource.voidonAccessGranted(BitwardsResource resource) Access was granted to a NFC or BLE based resource.voidonError(BitwardsResource resource, int errorCode) An error occurred when accessing resource
-
Method Details
-
onAccessGranted
Access was granted to a NFC or BLE based resource.- Parameters:
resource- the resource
-
onAccessDenied
Access was denied to a NFC or BLE based resource.- Parameters:
resource- the resourcereasonCode- the reason code for denial
-
onError
An error occurred when accessing resource- Parameters:
resource- resource whose access was erronuous (might not include all needed data)errorCode- an error code
-