NotificationType
A haptic notification's kind, 'success', 'warning' or 'error', as haptics.notification() takes it.
Utilização
Report an outcome through haptics.
Este tipo é usado por haptics.notification
// Report an outcome through haptics.
import { haptics } from 'kuito';
await haptics.notification('success');Declaração do tipo
export type NotificationType = 'success' | 'warning' | 'error';Tipo
"error" | "success" | "warning"Gerado a partir das declarações TypeScript públicas: assinaturas, props e predefinições vêm da fonte verificada, as descrições da sua JSDoc. Nenhuma predefinição é inventada.