Assets/Watson/Scripts/Services/TextToSpeech/TextToSpeech.cs
/// <summary>
/// Lists all of the words and their translations for the custom voice model with the specified `customization_id`. The output shows the translations as they are defined in the model. Only the owner of a custom voice model can use this method to query information about the model's words.
/// Note: This method is currently a beta release that supports US English only.
/// </summary>
/// <param name="callback">The callback.</param>
/// <param name="customizationID">The requested custom voice model's identifier.</param>
/// <param name="customData">Optional custom data.</param>
/// <returns></returns>
Lists all of the words and their translations for the custom voice model with the specified `customization_id`. The output shows the translations as they are defined in the model. Only the owner of a custom voice model can use this method to query information about the model's words.
Note: This method is currently a beta release that supports US English only.
Lists all of the words and their translations for the custom voice model with the specified ` customization_id ` . The output shows the translations as they are defined in the model . Only the owner of a custom voice model can use this method to query information about the model ' s words . Note : This method is currently a beta release that supports US English only .
public bool GetCustomizationWords(GetCustomizationWordsCallback callback, string customizationID, string customData = default(string))
		{
			if (callback == null)
				throw new ArgumentNullException("callback");
			if (string.IsNullOrEmpty(customizationID))
				throw new ArgumentNullException("A customizationID is required to get a custom voice model's words.");
			GetCustomizationWordsRequest req = new GetCustomizationWordsRequest();
			req.Callback = callback;
			req.CustomizationID = customizationID;
			req.Data = customData;
			req.OnResponse = OnGetCustomizationWordsResp;
			string service = "/v1/customizations/{0}/words";
			RESTConnector connector = RESTConnector.GetConnector(SERVICE_ID, string.Format(service, customizationID));
			if (connector == null)
				return false;
			return connector.Send(req);
		}
public bool GetCustomizationWords ( GetCustomizationWordsCallback callback , string customizationID , string customData = default ( string ) ) { if ( callback == null ) throw new ArgumentNullException ( " " ) ; if ( string . IsNullOrEmpty ( customizationID ) ) throw new ArgumentNullException ( " " ) ; GetCustomizationWordsRequest req = new GetCustomizationWordsRequest ( ) ; req . Callback = callback ; req . CustomizationID = customizationID ; req . Data = customData ; req . OnResponse = OnGetCustomizationWordsResp ; string service = " " ; RESTConnector connector = RESTConnector . GetConnector ( SERVICE_ID , string . Format ( service , customizationID ) ) ; if ( connector == null ) return false ; return connector . Send ( req ) ; }
Lists all of the words and their translations for the custom voice model with the specified `customization_id`.
Lists all of the words and their translations for the custom voice model with the specified ` customization_id ` .
None
callback
GetCustomizationWordsCallback
None
customizationID
string
The requested custom voice model's identifier.
The requested custom voice model ' s identifier .
customData
string
Optional custom data.
Optional custom data .