SAEmergencyResponseDelegate

Trait SAEmergencyResponseDelegate 

Source
pub unsafe trait SAEmergencyResponseDelegate: NSObjectProtocol {
    // Provided method
    unsafe fn emergencyResponseManager_didUpdateVoiceCallStatus(
        &self,
        emergency_response_manager: &SAEmergencyResponseManager,
        voice_call_status: SAEmergencyResponseManagerVoiceCallStatus,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature SAEmergencyResponseManager only.
Expand description

SAEmergencyResponseDelegate

SAEmergencyResponseManager notifies its delegate about status of the requested emergency response action

See also: SAEmergencyResponseManager

See also Apple’s documentation

Provided Methods§

Source

unsafe fn emergencyResponseManager_didUpdateVoiceCallStatus( &self, emergency_response_manager: &SAEmergencyResponseManager, voice_call_status: SAEmergencyResponseManagerVoiceCallStatus, )
where Self: Sized + Message,

Voice call can be requested when running in the foreground or background within a limited time window of a detected emergency event, Use this delegate to monitor the status of the requested voice call.

Trait Implementations§

Source§

impl ProtocolType for dyn SAEmergencyResponseDelegate

Source§

const NAME: &'static str = "SAEmergencyResponseDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn SAEmergencyResponseDelegate

Implementations on Foreign Types§

Source§

impl<T> SAEmergencyResponseDelegate for ProtocolObject<T>

Implementors§