Usage

Report an outcome through haptics.

tsx
// Report an outcome through haptics.
import { haptics } from 'kuito';

await haptics.notification('success');

Signatures

ts
(type: NotificationType): Promise<void>

Parameters

NameTypeRequiredDescription
typeNotificationTypeYes—

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.