public VoiceToText(string fullPathToMP3File, string username, string password, string taskId, string taskLabel, string audience = "https://newton.nanogrid.cloud/") { accessToken = AccessToken.Login(username, password, audience); ntxToken = NtxToken.GetToken(accessToken, taskId, taskLabel); mp3file = fullPathToMP3File; }
public VoiceToText(string fullPathToMP3File, AccessToken accessToken, NtxToken ntxToken) { this.accessToken = accessToken; this.ntxToken = ntxToken; mp3file = fullPathToMP3File; }