SNRequest

Trait SNRequest 

Source
pub unsafe trait SNRequest: NSObjectProtocol { }
Available on crate feature SNRequest only.
Expand description

The base protocol to which analysis requests conform

An analysis request is a configuration that defines the analysis the client wishes to perform on the audio stream. Each request has a corresponding result type, which contains information describing the analysis results. This protocol is designed for all requests provided by the framework to conform to, and shouldn’t be conformed to by client objects.

See also Apple’s documentation

Trait Implementations§

Source§

impl ProtocolType for dyn SNRequest

Source§

const NAME: &'static str = "SNRequest"

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 SNRequest
where T: ?Sized + Message + SNRequest,

Implementations on Foreign Types§

Source§

impl<T> SNRequest for ProtocolObject<T>
where T: ?Sized + SNRequest,

Implementors§

Source§

impl SNRequest for SNClassifySoundRequest

Available on crate feature SNClassifySoundRequest only.