CLLocationPushServiceExtension

Trait CLLocationPushServiceExtension 

Source
pub unsafe trait CLLocationPushServiceExtension: NSObjectProtocol {
    // Provided methods
    unsafe fn didReceiveLocationPushPayload_completion(
        &self,
        payload: &NSDictionary<NSString, AnyObject>,
        completion: &DynBlock<dyn Fn()>,
    )
       where Self: Sized + Message { ... }
    unsafe fn serviceExtensionWillTerminate(&self)
       where Self: Sized + Message { ... }
}
Available on crate feature CLLocationPushServiceExtension only.
Expand description

Provided Methods§

Source

unsafe fn didReceiveLocationPushPayload_completion( &self, payload: &NSDictionary<NSString, AnyObject>, completion: &DynBlock<dyn Fn()>, )
where Self: Sized + Message,

Available on crate feature block2 only.
§Safety

payload generic should be of the correct type.

Source

unsafe fn serviceExtensionWillTerminate(&self)
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn CLLocationPushServiceExtension

Source§

const NAME: &'static str = "CLLocationPushServiceExtension"

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 CLLocationPushServiceExtension

Implementations on Foreign Types§

Source§

impl<T> CLLocationPushServiceExtension for ProtocolObject<T>

Implementors§