AndroidHapticCapabilities class
Constructors
-
AndroidHapticCapabilities({required int hapticSupportLevel, required bool areOnOffHapticsSupported, required bool areAmplitudeControlHapticsSupported, required bool areAudioCoupledHapticsSupported, required bool areEnvelopeHapticsSupported, double? resonanceFrequency, double? qFactor, double? minFrequency, double? maxFrequency, double? maxAcceleration, Map<
int, double> ? frequencyResponse, int? envelopeControlPointMinDurationMillis, int? envelopeControlPointMaxDurationMillis, int? envelopeMaxDurationMillis, int? envelopeMaxControlPointCount}) -
AndroidHapticCapabilities.fromMap(Map<
String, dynamic> map) -
factory
Properties
- areAmplitudeControlHapticsSupported → bool
-
final
- areAudioCoupledHapticsSupported → bool
-
final
- areEnvelopeHapticsSupported → bool
-
final
- areOnOffHapticsSupported → bool
-
final
- envelopeControlPointMaxDurationMillis → int?
-
final
- envelopeControlPointMinDurationMillis → int?
-
final
- envelopeMaxControlPointCount → int?
-
final
- envelopeMaxDurationMillis → int?
-
final
-
frequencyResponse
→ Map<
int, double> ? -
final
- hapticSupportLevel → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxAcceleration → double?
-
final
- maxFrequency → double?
-
final
- minFrequency → double?
-
final
- qFactor → double?
-
final
- resonanceFrequency → double?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited