RPBroadcastControllerDelegate

Trait RPBroadcastControllerDelegate 

Source
pub unsafe trait RPBroadcastControllerDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn broadcastController_didFinishWithError(
        &self,
        broadcast_controller: &RPBroadcastController,
        error: Option<&NSError>,
    )
       where Self: Sized + Message { ... }
    unsafe fn broadcastController_didUpdateServiceInfo(
        &self,
        broadcast_controller: &RPBroadcastController,
        service_info: &NSDictionary<NSString, NSObject>,
    )
       where Self: Sized + Message { ... }
    unsafe fn broadcastController_didUpdateBroadcastURL(
        &self,
        broadcast_controller: &RPBroadcastController,
        broadcast_url: &NSURL,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature RPBroadcast only.
Expand description

Provided Methods§

Source

unsafe fn broadcastController_didFinishWithError( &self, broadcast_controller: &RPBroadcastController, error: Option<&NSError>, )
where Self: Sized + Message,

Source

unsafe fn broadcastController_didUpdateServiceInfo( &self, broadcast_controller: &RPBroadcastController, service_info: &NSDictionary<NSString, NSObject>, )
where Self: Sized + Message,

§Safety

service_info generic must implement NSCoding.

Source

unsafe fn broadcastController_didUpdateBroadcastURL( &self, broadcast_controller: &RPBroadcastController, broadcast_url: &NSURL, )
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn RPBroadcastControllerDelegate

Source§

const NAME: &'static str = "RPBroadcastControllerDelegate"

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 RPBroadcastControllerDelegate

Implementations on Foreign Types§

Source§

impl<T> RPBroadcastControllerDelegate for ProtocolObject<T>

Implementors§