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§
Sourceunsafe fn routePickerViewWillBeginPresentingRoutes(
&self,
route_picker_view: &AVRoutePickerView,
)
Available on crate feature objc2-app-kit and macOS only.
unsafe fn routePickerViewWillBeginPresentingRoutes( &self, route_picker_view: &AVRoutePickerView, )
objc2-app-kit and macOS only.Informs the delegate that the route picker view will start presenting routes to the user.
Sourceunsafe fn routePickerViewDidEndPresentingRoutes(
&self,
route_picker_view: &AVRoutePickerView,
)
Available on crate feature objc2-app-kit and macOS only.
unsafe fn routePickerViewDidEndPresentingRoutes( &self, route_picker_view: &AVRoutePickerView, )
objc2-app-kit and macOS only.Informs the delegate that the route picker view finished presenting routes to the user.