#[repr(transparent)]pub struct OH_AudioStream_VolumeMode(pub c_uint);Available on crate feature
api-19 only.Expand description
Define the audio stream volume mode.
Available since API-level: 19
Tuple Fields§
§0: c_uintImplementations§
Source§impl OH_AudioStream_VolumeMode
impl OH_AudioStream_VolumeMode
Sourcepub const AUDIOSTREAM_VOLUMEMODE_SYSTEM_GLOBAL: OH_AudioStream_VolumeMode
pub const AUDIOSTREAM_VOLUMEMODE_SYSTEM_GLOBAL: OH_AudioStream_VolumeMode
Indicates this audio stream volume will be affected by system volume, also the default behavior.
Available since API-level: 19
Sourcepub const AUDIOSTREAM_VOLUMEMODE_APP_INDIVIDUAL: OH_AudioStream_VolumeMode
pub const AUDIOSTREAM_VOLUMEMODE_APP_INDIVIDUAL: OH_AudioStream_VolumeMode
Indicates this audio stream volume will be affected by app’s individual volume percentage which set by yourself using the app volume api.
Available since API-level: 19
Trait Implementations§
Source§impl Clone for OH_AudioStream_VolumeMode
impl Clone for OH_AudioStream_VolumeMode
Source§fn clone(&self) -> OH_AudioStream_VolumeMode
fn clone(&self) -> OH_AudioStream_VolumeMode
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_AudioStream_VolumeMode
impl Debug for OH_AudioStream_VolumeMode
Source§impl Hash for OH_AudioStream_VolumeMode
impl Hash for OH_AudioStream_VolumeMode
Source§impl PartialEq for OH_AudioStream_VolumeMode
impl PartialEq for OH_AudioStream_VolumeMode
Source§fn eq(&self, other: &OH_AudioStream_VolumeMode) -> bool
fn eq(&self, other: &OH_AudioStream_VolumeMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OH_AudioStream_VolumeMode
impl Eq for OH_AudioStream_VolumeMode
impl StructuralPartialEq for OH_AudioStream_VolumeMode
Auto Trait Implementations§
impl Freeze for OH_AudioStream_VolumeMode
impl RefUnwindSafe for OH_AudioStream_VolumeMode
impl Send for OH_AudioStream_VolumeMode
impl Sync for OH_AudioStream_VolumeMode
impl Unpin for OH_AudioStream_VolumeMode
impl UnsafeUnpin for OH_AudioStream_VolumeMode
impl UnwindSafe for OH_AudioStream_VolumeMode
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