UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

58 lines (28 loc) 884 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [Player](./server.player.md) &gt; [unscheduleNotification](./server.player.unschedulenotification.md) ## Player.unscheduleNotification() method Unschedules a scheduled notification for the player. **Signature:** ```typescript unscheduleNotification(notificationId: string): Promise<boolean>; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> notificationId </td><td> string </td><td> The ID returned from `Player.scheduleNotification`<!-- -->. </td></tr> </tbody></table> **Returns:** Promise&lt;boolean&gt; True if the notification was unscheduled, false otherwise. \*\*Category:\*\* Players