playAlert

external fun playAlert(filePath: String, listener: ISoundPlayingListener, preferences: SoundPlayingPreferences?): Int

Play alert. The provided progress listener will be used also for canceling the play. A progress listener can be attached to only one play operation at a time. If preferences is NULL than playing sound will use the default playing preferences.

Return

GemError.NoError Success

GemError.InvalidInput Invalid text provided

GemError.NotSupported Text not supported( no player available)

GemError.General Any other error