Assets/Watson/Scripts/Services/TextToSpeech/TextToSpeech.cs
/// <summary>
/// Lists all information about the custom voice model with the specified `customization_id`. In addition to metadata such as the name and description of the voice model, the output includes the words in the model and their translations as defined in the model. To see just the metadata for a voice model, use the GET `/v1/customizations` method. Only the owner of a custom voice model can use this method to query information about the model.
/// 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 information about the custom voice model with the specified `customization_id`. In addition to metadata such as the name and description of the voice model, the output includes the words in the model and their translations as defined in the model. To see just the metadata for a voice model, use the GET `/v1/customizations` method. Only the owner of a custom voice model can use this method to query information about the model.
Note: This method is currently a beta release that supports US English only.
Lists all information about the custom voice model with the specified ` customization_id ` . In addition to metadata such as the name and description of the voice model the output includes the words in the model and their translations as defined in the model . To see just the metadata for a voice model use the GET ` / v1 / customizations ` method . Only the owner of a custom voice model can use this method to query information about the model . Note : This method is currently a beta release that supports US English only .
public bool GetCustomization(GetCustomizationCallback callback, string customizationID, string customData = default(string))
		{
			if (callback == null)
				throw new ArgumentNullException("callback");
			if (string.IsNullOrEmpty(customizationID))
				throw new ArgumentNullException("A customizationID to get a custom voice model.");
			GetCustomizationRequest req = new GetCustomizationRequest();
			req.Callback = callback;
			req.CustomizationID = customizationID;
			req.Data = customData;
			req.OnResponse = OnGetCustomizationResp;
			string service = "/v1/customizations/{0}";
			RESTConnector connector = RESTConnector.GetConnector(SERVICE_ID, string.Format(service, customizationID));
			if (connector == null)
				return false;
			return connector.Send(req);
		}
public bool GetCustomization ( GetCustomizationCallback callback , string customizationID , string customData = default ( string ) ) { if ( callback == null ) throw new ArgumentNullException ( " " ) ; if ( string . IsNullOrEmpty ( customizationID ) ) throw new ArgumentNullException ( " " ) ; GetCustomizationRequest req = new GetCustomizationRequest ( ) ; req . Callback = callback ; req . CustomizationID = customizationID ; req . Data = customData ; req . OnResponse = OnGetCustomizationResp ; string service = " " ; RESTConnector connector = RESTConnector . GetConnector ( SERVICE_ID , string . Format ( service , customizationID ) ) ; if ( connector == null ) return false ; return connector . Send ( req ) ; }
Lists all information about the custom voice model with the specified `customization_id`.
Lists all information about the custom voice model with the specified ` customization_id ` .
None
callback
GetCustomizationCallback
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 .