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

Provided Methods§

source

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

Available on crate feature block2 only.
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.
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§