MiniAVFFIInputPlatform class
FFI implementation of MiniInputPlatformInterface.
- Inheritance
-
- Object
- MiniInputPlatformInterface
- MiniAVFFIInputPlatform
Constructors
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
-
addGamepadChangeListener(
MiniAVDeviceChangeListener listener) → void Function() -
Subscribe to gamepad add/remove notifications.
override
-
createContext(
) → Future< MiniInputContextPlatformInterface> -
Create an input capture context.
override
-
enumerateGamepads(
) → Future< List< MiniAVDeviceInfo> > -
Enumerate available gamepad devices.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestMotionPermission(
) → Future< bool> -
Request OS motion-sensor permission where one is required (iOS 13+, and
iOS-Safari web where it MUST be called synchronously from a user gesture —
call this as the first thing in the gesture handler, before any context is
created, so the user-activation is still live). No-op / already-granted
elsewhere. Returns true if motion may be captured. Default: true.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited