fidl_fuchsia_bluetooth_sysTrait PairingDelegateProxyInterface
Source pub trait PairingDelegateProxyInterface: Send + Sync {
type OnPairingRequestResponseFut: Future<Output = Result<(bool, u32), Error>> + Send;
// Required methods
fn on_pairing_request(
&self,
peer: &Peer,
method: PairingMethod,
displayed_passkey: u32,
) -> Self::OnPairingRequestResponseFut;
fn on_pairing_complete(
&self,
id: &PeerId,
success: bool,
) -> Result<(), Error>;
fn on_remote_keypress(
&self,
id: &PeerId,
keypress: PairingKeypress,
) -> Result<(), Error>;
}