pub trait Camera_ErrorCallback:
JObjRef
+ JObjNew
+ PartialEq
+ Debug {
const CLASS: &'static str = "android/hardware/Camera$ErrorCallback";
const OBJECT_SIG: &'static str = "Landroid/hardware/Camera$ErrorCallback;";
const DIM: u8 = 0u8;
// Required method
fn on_error(&self, error: i32, camera: &Camera);
}
👎Deprecated: 我们建议新应用使用新的android.hardware.camera2 API。
Expand description
相机错误通知的回调接口。
Provided Associated Constants§
Sourceconst CLASS: &'static str = "android/hardware/Camera$ErrorCallback"
👎Deprecated: 我们建议新应用使用新的android.hardware.camera2 API。
const CLASS: &'static str = "android/hardware/Camera$ErrorCallback"
android/hardware/Camera$ErrorCallback
Sourceconst OBJECT_SIG: &'static str = "Landroid/hardware/Camera$ErrorCallback;"
👎Deprecated: 我们建议新应用使用新的android.hardware.camera2 API。
const OBJECT_SIG: &'static str = "Landroid/hardware/Camera$ErrorCallback;"
Landroid/hardware/Camera$ErrorCallback;
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.