MiniProgramCameraProvider class abstract interface

Delegates photo capture to trusted host platform UI.

Implementations must keep native paths, content URIs, and bytes private. Returned media references remain valid until release is called.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel(String captureId) Future<bool>
capturePhoto(MiniProgramCameraCaptureRequest request) Future<MiniProgramCameraPhotoResult>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release(String mediaRef) Future<void>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited