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§
Sourceunsafe fn appPushManager_didReceiveIncomingCallWithUserInfo(
&self,
manager: &NEAppPushManager,
user_info: &NSDictionary,
)
unsafe fn appPushManager_didReceiveIncomingCallWithUserInfo( &self, manager: &NEAppPushManager, user_info: &NSDictionary, )
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§
impl<T> ImplementedBy<T> for dyn NEAppPushDelegate
Source§impl ProtocolType for dyn NEAppPushDelegate
impl ProtocolType for dyn NEAppPushDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".