#[repr(transparent)]pub struct OH_AVScreenCaptureStateCode(pub c_uint);Available on crate features
api-10 and api-12 only.Expand description
Enumerates screen capture state code.
Required System Capabilities: SystemCapability.Multimedia.Media.AVScreenCapture
Available since API-level: 12
Version: 1.0
Tuple Fields§
§0: c_uintImplementations§
Source§impl OH_AVScreenCaptureStateCode
impl OH_AVScreenCaptureStateCode
pub const OH_SCREEN_CAPTURE_STATE_STARTED: OH_AVScreenCaptureStateCode
pub const OH_SCREEN_CAPTURE_STATE_CANCELED: OH_AVScreenCaptureStateCode
pub const OH_SCREEN_CAPTURE_STATE_STOPPED_BY_USER: OH_AVScreenCaptureStateCode
pub const OH_SCREEN_CAPTURE_STATE_INTERRUPTED_BY_OTHER: OH_AVScreenCaptureStateCode
pub const OH_SCREEN_CAPTURE_STATE_STOPPED_BY_CALL: OH_AVScreenCaptureStateCode
pub const OH_SCREEN_CAPTURE_STATE_MIC_UNAVAILABLE: OH_AVScreenCaptureStateCode
pub const OH_SCREEN_CAPTURE_STATE_MIC_MUTED_BY_USER: OH_AVScreenCaptureStateCode
pub const OH_SCREEN_CAPTURE_STATE_MIC_UNMUTED_BY_USER: OH_AVScreenCaptureStateCode
pub const OH_SCREEN_CAPTURE_STATE_ENTER_PRIVATE_SCENE: OH_AVScreenCaptureStateCode
pub const OH_SCREEN_CAPTURE_STATE_EXIT_PRIVATE_SCENE: OH_AVScreenCaptureStateCode
pub const OH_SCREEN_CAPTURE_STATE_STOPPED_BY_USER_SWITCHES: OH_AVScreenCaptureStateCode
Trait Implementations§
Source§impl Clone for OH_AVScreenCaptureStateCode
impl Clone for OH_AVScreenCaptureStateCode
Source§fn clone(&self) -> OH_AVScreenCaptureStateCode
fn clone(&self) -> OH_AVScreenCaptureStateCode
Returns a duplicate of the value. Read more
1.0.0 · 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_AVScreenCaptureStateCode
impl Debug for OH_AVScreenCaptureStateCode
Source§impl Hash for OH_AVScreenCaptureStateCode
impl Hash for OH_AVScreenCaptureStateCode
impl Copy for OH_AVScreenCaptureStateCode
impl Eq for OH_AVScreenCaptureStateCode
impl StructuralPartialEq for OH_AVScreenCaptureStateCode
Auto Trait Implementations§
impl Freeze for OH_AVScreenCaptureStateCode
impl RefUnwindSafe for OH_AVScreenCaptureStateCode
impl Send for OH_AVScreenCaptureStateCode
impl Sync for OH_AVScreenCaptureStateCode
impl Unpin for OH_AVScreenCaptureStateCode
impl UnsafeUnpin for OH_AVScreenCaptureStateCode
impl UnwindSafe for OH_AVScreenCaptureStateCode
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