#[repr(transparent)]pub struct AVAudioRoutingArbitrationCategory(pub NSInteger);Available on crate feature
AVAudioRoutingArbiter only.Expand description
The category describes the general type of audio that the app plans to use.
Provides context to the operating system about the type of audio an application intends to use. The system uses this information when arbitrating between Apple products that want to take ownership of Bluetooth audio routes.
Used for Audio playback.
Used for recording and playing back audio.
Appropriate for Voice over IP(VoIP) applications.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl AVAudioRoutingArbitrationCategory
impl AVAudioRoutingArbitrationCategory
pub const Playback: Self
pub const PlayAndRecord: Self
pub const PlayAndRecordVoice: Self
Trait Implementations§
Source§impl Clone for AVAudioRoutingArbitrationCategory
impl Clone for AVAudioRoutingArbitrationCategory
Source§fn clone(&self) -> AVAudioRoutingArbitrationCategory
fn clone(&self) -> AVAudioRoutingArbitrationCategory
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Ord for AVAudioRoutingArbitrationCategory
impl Ord for AVAudioRoutingArbitrationCategory
Source§fn cmp(&self, other: &AVAudioRoutingArbitrationCategory) -> Ordering
fn cmp(&self, other: &AVAudioRoutingArbitrationCategory) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AVAudioRoutingArbitrationCategory
impl PartialEq for AVAudioRoutingArbitrationCategory
Source§fn eq(&self, other: &AVAudioRoutingArbitrationCategory) -> bool
fn eq(&self, other: &AVAudioRoutingArbitrationCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AVAudioRoutingArbitrationCategory
impl PartialOrd for AVAudioRoutingArbitrationCategory
Source§impl RefEncode for AVAudioRoutingArbitrationCategory
impl RefEncode for AVAudioRoutingArbitrationCategory
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for AVAudioRoutingArbitrationCategory
impl Eq for AVAudioRoutingArbitrationCategory
impl StructuralPartialEq for AVAudioRoutingArbitrationCategory
Auto Trait Implementations§
impl Freeze for AVAudioRoutingArbitrationCategory
impl RefUnwindSafe for AVAudioRoutingArbitrationCategory
impl Send for AVAudioRoutingArbitrationCategory
impl Sync for AVAudioRoutingArbitrationCategory
impl Unpin for AVAudioRoutingArbitrationCategory
impl UnwindSafe for AVAudioRoutingArbitrationCategory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.