haptics.supported
Whether the device can play haptics. Simulators and emulators cannot.
Verwendung
Check for haptic support.
// Check for haptic support.
import { haptics } from 'kuito';
if (haptics.supported) haptics.impact('light');Typ
booleanGeneriert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.