NotificationType
A haptic notification's kind, 'success', 'warning' or 'error', as haptics.notification() takes it.
Utilisation
Report an outcome through haptics.
Ce type est utilisé par haptics.notification
// Report an outcome through haptics.
import { haptics } from 'kuito';
await haptics.notification('success');Déclaration du type
export type NotificationType = 'success' | 'warning' | 'error';Type
"error" | "success" | "warning"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.