AVRoutePickerViewDelegate

Trait AVRoutePickerViewDelegate 

Source
pub unsafe trait AVRoutePickerViewDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn routePickerViewWillBeginPresentingRoutes(
        &self,
        route_picker_view: &AVRoutePickerView,
    )
       where Self: Sized + Message { ... }
    unsafe fn routePickerViewDidEndPresentingRoutes(
        &self,
        route_picker_view: &AVRoutePickerView,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature AVRoutePickerView only.
Expand description

Defines an interface for delegates of AVRoutePickerView.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn routePickerViewWillBeginPresentingRoutes( &self, route_picker_view: &AVRoutePickerView, )
where Self: Sized + Message,

Available on crate feature objc2-app-kit and macOS only.

Informs the delegate that the route picker view will start presenting routes to the user.

Source

unsafe fn routePickerViewDidEndPresentingRoutes( &self, route_picker_view: &AVRoutePickerView, )
where Self: Sized + Message,

Available on crate feature objc2-app-kit and macOS only.

Informs the delegate that the route picker view finished presenting routes to the user.

Trait Implementations§

Source§

impl ProtocolType for dyn AVRoutePickerViewDelegate

Source§

const NAME: &'static str = "AVRoutePickerViewDelegate"

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 AVRoutePickerViewDelegate

Implementations on Foreign Types§

Source§

impl<T> AVRoutePickerViewDelegate for ProtocolObject<T>

Implementors§