#[repr(transparent)]pub struct OH_AudioScene(pub c_uint);Available on crate feature
api-12 only.Expand description
Defines the audio scene.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl OH_AudioScene
impl OH_AudioScene
Sourcepub const AUDIO_SCENE_DEFAULT: OH_AudioScene
pub const AUDIO_SCENE_DEFAULT: OH_AudioScene
Default audio scene.
Available since API-level: 12
Sourcepub const AUDIO_SCENE_RINGING: OH_AudioScene
pub const AUDIO_SCENE_RINGING: OH_AudioScene
Ringing scene.
Available since API-level: 12
Sourcepub const AUDIO_SCENE_PHONE_CALL: OH_AudioScene
pub const AUDIO_SCENE_PHONE_CALL: OH_AudioScene
Phone call scene.
Available since API-level: 12
Sourcepub const AUDIO_SCENE_VOICE_CHAT: OH_AudioScene
pub const AUDIO_SCENE_VOICE_CHAT: OH_AudioScene
Voice chat scene.
Available since API-level: 12
Trait Implementations§
Source§impl Clone for OH_AudioScene
impl Clone for OH_AudioScene
Source§fn clone(&self) -> OH_AudioScene
fn clone(&self) -> OH_AudioScene
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OH_AudioScene
impl Debug for OH_AudioScene
Source§impl Hash for OH_AudioScene
impl Hash for OH_AudioScene
Source§impl PartialEq for OH_AudioScene
impl PartialEq for OH_AudioScene
Source§fn eq(&self, other: &OH_AudioScene) -> bool
fn eq(&self, other: &OH_AudioScene) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OH_AudioScene
impl Eq for OH_AudioScene
impl StructuralPartialEq for OH_AudioScene
Auto Trait Implementations§
impl Freeze for OH_AudioScene
impl RefUnwindSafe for OH_AudioScene
impl Send for OH_AudioScene
impl Sync for OH_AudioScene
impl Unpin for OH_AudioScene
impl UnsafeUnpin for OH_AudioScene
impl UnwindSafe for OH_AudioScene
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