Trait CLLocationPushServiceExtension

Source
pub unsafe trait CLLocationPushServiceExtension: NSObjectProtocol {
    // Provided methods
    unsafe fn didReceiveLocationPushPayload_completion(
        &self,
        payload: &NSDictionary<NSString, AnyObject>,
        completion: &Block<(), ()>,
    )
       where Self: Sized + Message { ... }
    unsafe fn serviceExtensionWillTerminate(&self)
       where Self: Sized + Message { ... }
}
👎Deprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate feature CoreLocation only.

Provided Methods§

Source

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

👎Deprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate features Foundation_NSDictionary and Foundation_NSString only.
Source

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

👎Deprecated: icrate::CoreLocation has been moved to objc2-core-location

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§