Skip to main content

NEAppPushDelegate

Trait NEAppPushDelegate 

Source
pub unsafe trait NEAppPushDelegate: NSObjectProtocol {
    // Provided method
    unsafe fn appPushManager_didReceiveIncomingCallWithUserInfo(
        &self,
        manager: &NEAppPushManager,
        user_info: &NSDictionary,
    )
       where Self: Sized + Message { ... }
}
Expand description

Delegate for NEAppPushManager.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn appPushManager_didReceiveIncomingCallWithUserInfo( &self, manager: &NEAppPushManager, user_info: &NSDictionary, )
where Self: Sized + Message,

This delegate method is called when the provider reports incoming call using reportIncomingCommunicationWithUserInfo method.

Parameter userInfo: A dictionary of custom information that the provider passes to reportIncomingCommunicationWithUserInfo method.

§Safety

user_info generic should be of the correct type.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn NEAppPushDelegate

Source§

impl ProtocolType for dyn NEAppPushDelegate

Source§

const NAME: &'static str = "NEAppPushDelegate"

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> NEAppPushDelegate for ProtocolObject<T>

Implementors§