#[repr(transparent)]pub struct OH_AudioSession_OutputDeviceChangeRecommendedAction(pub c_uint);Available on crate features
api-12 and api-20 only.Expand description
Declare the recommend action when device change.
Available since API-level: 20
Tuple Fields§
§0: c_uintImplementations§
Source§impl OH_AudioSession_OutputDeviceChangeRecommendedAction
impl OH_AudioSession_OutputDeviceChangeRecommendedAction
Sourcepub const DEVICE_CHANGE_RECOMMEND_TO_CONTINUE: OH_AudioSession_OutputDeviceChangeRecommendedAction
pub const DEVICE_CHANGE_RECOMMEND_TO_CONTINUE: OH_AudioSession_OutputDeviceChangeRecommendedAction
Recommend to continue the playback.
Sourcepub const DEVICE_CHANGE_RECOMMEND_TO_STOP: OH_AudioSession_OutputDeviceChangeRecommendedAction
pub const DEVICE_CHANGE_RECOMMEND_TO_STOP: OH_AudioSession_OutputDeviceChangeRecommendedAction
recommend to stop the playback.
Trait Implementations§
Source§impl Clone for OH_AudioSession_OutputDeviceChangeRecommendedAction
impl Clone for OH_AudioSession_OutputDeviceChangeRecommendedAction
Source§fn clone(&self) -> OH_AudioSession_OutputDeviceChangeRecommendedAction
fn clone(&self) -> OH_AudioSession_OutputDeviceChangeRecommendedAction
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 PartialEq for OH_AudioSession_OutputDeviceChangeRecommendedAction
impl PartialEq for OH_AudioSession_OutputDeviceChangeRecommendedAction
Source§fn eq(
&self,
other: &OH_AudioSession_OutputDeviceChangeRecommendedAction,
) -> bool
fn eq( &self, other: &OH_AudioSession_OutputDeviceChangeRecommendedAction, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OH_AudioSession_OutputDeviceChangeRecommendedAction
impl Eq for OH_AudioSession_OutputDeviceChangeRecommendedAction
impl StructuralPartialEq for OH_AudioSession_OutputDeviceChangeRecommendedAction
Auto Trait Implementations§
impl Freeze for OH_AudioSession_OutputDeviceChangeRecommendedAction
impl RefUnwindSafe for OH_AudioSession_OutputDeviceChangeRecommendedAction
impl Send for OH_AudioSession_OutputDeviceChangeRecommendedAction
impl Sync for OH_AudioSession_OutputDeviceChangeRecommendedAction
impl Unpin for OH_AudioSession_OutputDeviceChangeRecommendedAction
impl UnsafeUnpin for OH_AudioSession_OutputDeviceChangeRecommendedAction
impl UnwindSafe for OH_AudioSession_OutputDeviceChangeRecommendedAction
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