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 Details

    • onAccessGranted

      void onAccessGranted(BitwardsResource resource)
      Access was granted to a NFC or BLE based resource.
      Parameters:
      resource - the resource
    • onAccessDenied

      void onAccessDenied(BitwardsResource resource, int reasonCode)
      Access was denied to a NFC or BLE based resource.
      Parameters:
      resource - the resource
      reasonCode - the reason code for denial
    • onError

      void onError(BitwardsResource resource, int errorCode)
      An error occurred when accessing resource
      Parameters:
      resource - resource whose access was erronuous (might not include all needed data)
      errorCode - an error code