The platform side of skio_uvc_camera.
Apps use UvcCamera; tests can replace instance with a fake.
- Implemented types
- Implementers
Constructors
- UvcCameraPlatform()
- Constructor for subclasses.
Properties
-
events
→ Stream<
DeviceEvent> -
Attach and detach events.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkAccess(
[DeviceHandle? device]) → Future< AccessReport> -
Returns the current access state without showing any prompt.
inherited
-
devices(
) → Future< List< DeviceHandle> > - UVC cameras currently attached (Android) or available (web).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
DeviceHandle device, List< UvcSize> preferred) → Future<UvcCameraSession> -
Opens
deviceand starts the preview at the first size inpreferredthe camera supports (seeselectPreviewSize). -
openSettings(
) → Future< bool> -
Opens this app's page in the system settings.
inherited
-
requestAccess(
[DeviceHandle? device]) → Future< AccessReport> -
Requests access, which may show system dialogs.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ UvcCameraPlatform
-
The active platform implementation.
getter/setter pair