displayPinCode method

Future<BlueZAgentResponse> displayPinCode(
  1. BlueZDevice device,
  2. String pinCode
)

Called when pinCode is required to be displayed when authenticating with device. Return BlueZAgentResponse.success is this PIN is confirmed as correct, and BlueZAgentResponse.rejected if it is not.

Implementation

Future<BlueZAgentResponse> displayPinCode(
    BlueZDevice device, String pinCode) async {
  return BlueZAgentResponse.rejected();
}