C# Class Ispikit, ispikit-unity

Inheritance: MonoBehaviour
Show file Open project: ispikit/ispikit-unity Class Usage Examples

Public Methods

Method Description
completionCallback ( int completion ) : void
completionCallback ( string status ) : void
initCallback ( int status ) : void
initCallback ( string status ) : void
newAudioCallback ( int volume, string pitch, string waveform ) : void
newAudioCallback ( string status ) : void
newWordsCallback ( string words ) : void
playbackDoneCallback ( ) : void
resultCallback ( int score, int speed, string words ) : void
resultCallback ( string status ) : void

Private Methods

Method Description
Awake ( ) : void
OnApplicationQuit ( ) : void
Start ( ) : void
StopAll ( ) : void
Update ( ) : void
addWord ( string word, string pronunciation ) : int
onRecordingDone ( object source, ElapsedEventArgs e ) : void
onRestarting ( object source, ElapsedEventArgs e ) : void
onStartPlayback ( object source, ElapsedEventArgs e ) : void
setCompletionCallback ( completionCallbackDelegate ccb ) : int
setCompletionCallback ( string callbackGameObjectName, string callbackMethodName ) : int
setNewAudioCallback ( newAudioCallbackDelegate nacb ) : int
setNewAudioCallback ( string callbackGameObjectName, string callbackMethodName ) : int
setNewWordsCallback ( newWordsCallbackDelegate nwcb ) : int
setNewWordsCallback ( string callbackGameObjectName, string callbackMethodName ) : int
setPlaybackDoneCallback ( playbackDoneCallbackDelegate pcb ) : int
setPlaybackDoneCallback ( string callbackGameObjectName, string callbackMethodName ) : int
setResultCallback ( resultCallbackDelegate rcb ) : int
setResultCallback ( string callbackGameObjectName, string callbackMethodName ) : int
setStrictness ( int strictness ) : int
startInitialization ( initCallbackDelegate icb, string path ) : int
startInitialization ( string callbackGameObjectName, string callbackMethodName ) : int
startPlayback ( ) : int
startRecording ( string sentences ) : int
stopPlayback ( ) : int
stopRecording ( ) : int

Method Details

completionCallback() public static method

public static completionCallback ( int completion ) : void
completion int
return void

completionCallback() public method

public completionCallback ( string status ) : void
status string
return void

initCallback() public method

public initCallback ( int status ) : void
status int
return void

initCallback() public method

public initCallback ( string status ) : void
status string
return void

newAudioCallback() public static method

public static newAudioCallback ( int volume, string pitch, string waveform ) : void
volume int
pitch string
waveform string
return void

newAudioCallback() public method

public newAudioCallback ( string status ) : void
status string
return void

newWordsCallback() public static method

public static newWordsCallback ( string words ) : void
words string
return void

playbackDoneCallback() public static method

public static playbackDoneCallback ( ) : void
return void

resultCallback() public static method

public static resultCallback ( int score, int speed, string words ) : void
score int
speed int
words string
return void

resultCallback() public method

public resultCallback ( string status ) : void
status string
return void