pub unsafe trait CBPeripheralManagerDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn peripheralManagerDidUpdateState(
        &self,
        peripheral: &CBPeripheralManager
    )
       where Self: Sized + Message { ... }
    unsafe fn peripheralManager_willRestoreState(
        &self,
        peripheral: &CBPeripheralManager,
        dict: &NSDictionary<NSString, AnyObject>
    )
       where Self: Sized + Message { ... }
    unsafe fn peripheralManagerDidStartAdvertising_error(
        &self,
        peripheral: &CBPeripheralManager,
        error: Option<&NSError>
    )
       where Self: Sized + Message { ... }
    unsafe fn peripheralManager_didAddService_error(
        &self,
        peripheral: &CBPeripheralManager,
        service: &CBService,
        error: Option<&NSError>
    )
       where Self: Sized + Message { ... }
    unsafe fn peripheralManager_central_didSubscribeToCharacteristic(
        &self,
        peripheral: &CBPeripheralManager,
        central: &CBCentral,
        characteristic: &CBCharacteristic
    )
       where Self: Sized + Message { ... }
    unsafe fn peripheralManager_central_didUnsubscribeFromCharacteristic(
        &self,
        peripheral: &CBPeripheralManager,
        central: &CBCentral,
        characteristic: &CBCharacteristic
    )
       where Self: Sized + Message { ... }
    unsafe fn peripheralManager_didReceiveReadRequest(
        &self,
        peripheral: &CBPeripheralManager,
        request: &CBATTRequest
    )
       where Self: Sized + Message { ... }
    unsafe fn peripheralManager_didReceiveWriteRequests(
        &self,
        peripheral: &CBPeripheralManager,
        requests: &NSArray<CBATTRequest>
    )
       where Self: Sized + Message { ... }
    unsafe fn peripheralManagerIsReadyToUpdateSubscribers(
        &self,
        peripheral: &CBPeripheralManager
    )
       where Self: Sized + Message { ... }
    unsafe fn peripheralManager_didPublishL2CAPChannel_error(
        &self,
        peripheral: &CBPeripheralManager,
        psm: CBL2CAPPSM,
        error: Option<&NSError>
    )
       where Self: Sized + Message { ... }
    unsafe fn peripheralManager_didUnpublishL2CAPChannel_error(
        &self,
        peripheral: &CBPeripheralManager,
        psm: CBL2CAPPSM,
        error: Option<&NSError>
    )
       where Self: Sized + Message { ... }
    unsafe fn peripheralManager_didOpenL2CAPChannel_error(
        &self,
        peripheral: &CBPeripheralManager,
        channel: Option<&CBL2CAPChannel>,
        error: Option<&NSError>
    )
       where Self: Sized + Message { ... }
}
Available on crate feature CBPeripheralManager only.

Provided Methods§

source

unsafe fn peripheralManagerDidUpdateState( &self, peripheral: &CBPeripheralManager )
where Self: Sized + Message,

Available on crate feature CBManager only.
source

unsafe fn peripheralManager_willRestoreState( &self, peripheral: &CBPeripheralManager, dict: &NSDictionary<NSString, AnyObject> )
where Self: Sized + Message,

Available on crate feature CBManager only.
source

unsafe fn peripheralManagerDidStartAdvertising_error( &self, peripheral: &CBPeripheralManager, error: Option<&NSError> )
where Self: Sized + Message,

Available on crate feature CBManager only.
source

unsafe fn peripheralManager_didAddService_error( &self, peripheral: &CBPeripheralManager, service: &CBService, error: Option<&NSError> )
where Self: Sized + Message,

Available on crate features CBAttribute and CBManager and CBService only.
source

unsafe fn peripheralManager_central_didSubscribeToCharacteristic( &self, peripheral: &CBPeripheralManager, central: &CBCentral, characteristic: &CBCharacteristic )
where Self: Sized + Message,

Available on crate features CBAttribute and CBCentral and CBCharacteristic and CBManager and CBPeer only.
source

unsafe fn peripheralManager_central_didUnsubscribeFromCharacteristic( &self, peripheral: &CBPeripheralManager, central: &CBCentral, characteristic: &CBCharacteristic )
where Self: Sized + Message,

Available on crate features CBAttribute and CBCentral and CBCharacteristic and CBManager and CBPeer only.
source

unsafe fn peripheralManager_didReceiveReadRequest( &self, peripheral: &CBPeripheralManager, request: &CBATTRequest )
where Self: Sized + Message,

Available on crate features CBATTRequest and CBManager only.
source

unsafe fn peripheralManager_didReceiveWriteRequests( &self, peripheral: &CBPeripheralManager, requests: &NSArray<CBATTRequest> )
where Self: Sized + Message,

Available on crate features CBATTRequest and CBManager only.
source

unsafe fn peripheralManagerIsReadyToUpdateSubscribers( &self, peripheral: &CBPeripheralManager )
where Self: Sized + Message,

Available on crate feature CBManager only.
source

unsafe fn peripheralManager_didPublishL2CAPChannel_error( &self, peripheral: &CBPeripheralManager, psm: CBL2CAPPSM, error: Option<&NSError> )
where Self: Sized + Message,

Available on crate features CBL2CAPChannel and CBManager only.
source

unsafe fn peripheralManager_didUnpublishL2CAPChannel_error( &self, peripheral: &CBPeripheralManager, psm: CBL2CAPPSM, error: Option<&NSError> )
where Self: Sized + Message,

Available on crate features CBL2CAPChannel and CBManager only.
source

unsafe fn peripheralManager_didOpenL2CAPChannel_error( &self, peripheral: &CBPeripheralManager, channel: Option<&CBL2CAPChannel>, error: Option<&NSError> )
where Self: Sized + Message,

Available on crate features CBL2CAPChannel and CBManager only.

Trait Implementations§

source§

impl ProtocolType for dyn CBPeripheralManagerDelegate

source§

const NAME: &'static str = "CBPeripheralManagerDelegate"

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 CBPeripheralManagerDelegate

Implementations on Foreign Types§

source§

impl<T> CBPeripheralManagerDelegate for ProtocolObject<T>

Implementors§