ImpactStyle
How heavy a collision haptics.impact() makes the device feel.
Utilisation
Add a light impact to an interaction.
Ce type est utilisé par haptics.impact
// Add a light impact to an interaction.
import { haptics } from 'kuito';
await haptics.impact('medium');Déclaration du type
export type ImpactStyle = 'light' | 'medium' | 'heavy';Type
"light" | "medium" | "heavy"Généré depuis les déclarations TypeScript publiques : signatures, props et valeurs par défaut viennent de la source vérifiée, les descriptions de sa JSDoc. Aucune valeur par défaut n'est inventée.