Type Alias ndk_sys::ACameraDevice_StateCallback

source ·
pub type ACameraDevice_StateCallback = Option<unsafe extern "C" fn(context: *mut c_void, device: *mut ACameraDevice)>;

Aliased Type§

enum ACameraDevice_StateCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut ACameraDevice)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *mut ACameraDevice))

Some value of type T.