fidl_fuchsia_bluetooth_hfpTrait PeerHandlerProxyInterface
Source pub trait PeerHandlerProxyInterface: Send + Sync {
type WatchNetworkInformationResponseFut: Future<Output = Result<NetworkInformation, Error>> + Send;
type WatchNextCallResponseFut: Future<Output = Result<NextCall, Error>> + Send;
type RequestOutgoingCallResponseFut: Future<Output = Result<PeerHandlerRequestOutgoingCallResult, Error>> + Send;
type QueryOperatorResponseFut: Future<Output = Result<Option<String>, Error>> + Send;
type SubscriberNumberInformationResponseFut: Future<Output = Result<Vec<String>, Error>> + Send;
type SetNrecModeResponseFut: Future<Output = Result<PeerHandlerSetNrecModeResult, Error>> + Send;
// Required methods
fn watch_network_information(
&self,
) -> Self::WatchNetworkInformationResponseFut;
fn watch_next_call(&self) -> Self::WatchNextCallResponseFut;
fn request_outgoing_call(
&self,
action: &CallAction,
) -> Self::RequestOutgoingCallResponseFut;
fn query_operator(&self) -> Self::QueryOperatorResponseFut;
fn subscriber_number_information(
&self,
) -> Self::SubscriberNumberInformationResponseFut;
fn set_nrec_mode(&self, enabled: bool) -> Self::SetNrecModeResponseFut;
fn report_headset_battery_level(&self, level: u8) -> Result<(), Error>;
fn gain_control(
&self,
control: ClientEnd<HeadsetGainMarker>,
) -> Result<(), Error>;
}