haptics.notification
The outcome of a task.
Verwendung
Report an outcome through haptics.
// Report an outcome through haptics.
import { haptics } from 'kuito';
await haptics.notification('success');Signaturen
(type: NotificationType): Promise<void>Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
type | NotificationType | Ja | — |
Rückgabe
Promise<void>
Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.