Star ✨ on GitHub

GoogleCloudTTSPlugin

API reference for the GoogleCloudTTSPlugin in Moonlink.js

GoogleCloudTTSPlugin Class

The GoogleCloudTTSPlugin provides Text-to-Speech (TTS) functionality using Google Cloud TTS. It declares the search:tts capability, allowing the player to use this plugin for TTS requests.

Properties

PropertyTypeDescription
namestringThe name of the plugin: Google Cloud TTS.
capabilitiesstring[]Declares search:tts capability.

Methods

load

loadmethod

Load Plugin

Initializes the plugin for a given node. This plugin primarily declares a capability and does not require complex initialization.

Parameters
noderequiredNode
The node instance.

Returns & Example

Returnsvoid

// Called internally by PluginManager

::

unload

unloadmethod

Unload Plugin

Cleans up plugin resources. This plugin does not require complex cleanup.

Parameters
noderequiredNode
The node instance.

Returns & Example

Returnsvoid

// Called internally by PluginManager