Type Alias ndk_sys::ACameraDevice_stateCallbacks

source ·
pub type ACameraDevice_stateCallbacks = ACameraDevice_StateCallbacks;

Aliased Type§

struct ACameraDevice_stateCallbacks {
    pub context: *mut c_void,
    pub onDisconnected: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut ACameraDevice)>,
    pub onError: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut ACameraDevice, _: i32)>,
}

Fields§

§context: *mut c_void§onDisconnected: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut ACameraDevice)>§onError: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut ACameraDevice, _: i32)>