AVPlayerItemOutputPushDelegate

Trait AVPlayerItemOutputPushDelegate 

Source
pub unsafe trait AVPlayerItemOutputPushDelegate:
    NSObjectProtocol
    + Send
    + Sync {
    // Provided method
    unsafe fn outputSequenceWasFlushed(&self, output: &AVPlayerItemOutput)
       where Self: Sized + Message { ... }
}
Available on crate feature AVPlayerItemOutput only.
Expand description

Defines common delegate methods for objects participating in AVPlayerItemOutput push sample output acquisition.

Subclasses of this type that are used from Swift must fulfill the requirements of a Sendable type.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn outputSequenceWasFlushed(&self, output: &AVPlayerItemOutput)
where Self: Sized + Message,

A method invoked when the output is commencing a new sequence of media data.

This method is invoked after any seeking and change in playback direction. If you are maintaining any queued future media data, received previously, you may want to discard these after receiving this message.

Trait Implementations§

Source§

impl ProtocolType for dyn AVPlayerItemOutputPushDelegate

Source§

const NAME: &'static str = "AVPlayerItemOutputPushDelegate"

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 AVPlayerItemOutputPushDelegate

Implementations on Foreign Types§

Source§

impl<T> AVPlayerItemOutputPushDelegate for ProtocolObject<T>

Implementors§