requestAuthorization method

Future<BlueZAgentResponse> requestAuthorization(
  1. BlueZDevice device
)

Called when confirmation is required when authenticating with device. Return BlueZAgentResponse.success is this authentication should occur, and BlueZAgentResponse.rejected if it should not.

Implementation

Future<BlueZAgentResponse> requestAuthorization(BlueZDevice device) async {
  return BlueZAgentResponse.rejected();
}