#[repr(transparent)]pub struct OH_AudioStream_Event(pub c_uint);👎Deprecated since 20:
Use instead: OH_AudioRenderer_OutputDeviceChangeCallback
Expand description
Define the audio event.
Deprecated since 20
Use instead: OH_AudioRenderer_OutputDeviceChangeCallback.
Available since API-level: 10
Tuple Fields§
§0: c_uint👎Deprecated since 20:
Use instead: OH_AudioRenderer_OutputDeviceChangeCallback
Implementations§
Source§impl OH_AudioStream_Event
impl OH_AudioStream_Event
Sourcepub const AUDIOSTREAM_EVENT_ROUTING_CHANGED: OH_AudioStream_Event
👎Deprecated since 20: Use instead: OH_AudioRenderer_OutputDeviceChangeCallback
pub const AUDIOSTREAM_EVENT_ROUTING_CHANGED: OH_AudioStream_Event
Use instead: OH_AudioRenderer_OutputDeviceChangeCallback
The routing of the audio has changed.
Deprecated since 20
Use instead: OH_AudioRenderer_OutputDeviceChangeCallback.
Available since API-level: 10
Trait Implementations§
Source§impl Clone for OH_AudioStream_Event
impl Clone for OH_AudioStream_Event
Source§fn clone(&self) -> OH_AudioStream_Event
fn clone(&self) -> OH_AudioStream_Event
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_Event
impl Debug for OH_AudioStream_Event
Source§impl Hash for OH_AudioStream_Event
impl Hash for OH_AudioStream_Event
Source§impl PartialEq for OH_AudioStream_Event
impl PartialEq for OH_AudioStream_Event
Source§fn eq(&self, other: &OH_AudioStream_Event) -> bool
fn eq(&self, other: &OH_AudioStream_Event) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OH_AudioStream_Event
impl Eq for OH_AudioStream_Event
impl StructuralPartialEq for OH_AudioStream_Event
Auto Trait Implementations§
impl Freeze for OH_AudioStream_Event
impl RefUnwindSafe for OH_AudioStream_Event
impl Send for OH_AudioStream_Event
impl Sync for OH_AudioStream_Event
impl Unpin for OH_AudioStream_Event
impl UnsafeUnpin for OH_AudioStream_Event
impl UnwindSafe for OH_AudioStream_Event
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