MiniInputPlatformInterface class abstract

Abstract interface for input capture functionality on all platforms.

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.
createContext() Future<MiniInputContextPlatformInterface>
Create an input capture context.
enumerateGamepads() Future<List<MiniAVDeviceInfo>>
Enumerate available gamepad devices.
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.
toString() String
A string representation of this object.
inherited

Operators

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