#[repr(C)]pub struct OH_AudioSession_StateChangedEvent {
pub stateChangeHint: OH_AudioSession_StateChangeHint,
}Available on crate features
api-12 and api-20 only.Expand description
declare the audio session state change event
Available since API-level: 20
Fields§
§stateChangeHint: OH_AudioSession_StateChangeHintaudio session state change hints.
Trait Implementations§
Source§impl Clone for OH_AudioSession_StateChangedEvent
impl Clone for OH_AudioSession_StateChangedEvent
Source§fn clone(&self) -> OH_AudioSession_StateChangedEvent
fn clone(&self) -> OH_AudioSession_StateChangedEvent
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 moreimpl Copy for OH_AudioSession_StateChangedEvent
Auto Trait Implementations§
impl Freeze for OH_AudioSession_StateChangedEvent
impl RefUnwindSafe for OH_AudioSession_StateChangedEvent
impl Send for OH_AudioSession_StateChangedEvent
impl Sync for OH_AudioSession_StateChangedEvent
impl Unpin for OH_AudioSession_StateChangedEvent
impl UnsafeUnpin for OH_AudioSession_StateChangedEvent
impl UnwindSafe for OH_AudioSession_StateChangedEvent
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