haptics.notification
The outcome of a task.
Usage
Report an outcome through haptics.
// Report an outcome through haptics.
import { haptics } from 'kuito';
await haptics.notification('success');Signatures
(type: NotificationType): Promise<void>Parameters
| Name | Type | Required | Description |
|---|---|---|---|
type | NotificationType | Yes | — |
Returns
Promise<void>
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.