playFileAsInt

fun playFileAsInt(filePath: String, mimeType: Int, listener: ISoundPlayingListener, preferences: SoundPlayingPreferences?): Int

Play the requested sound. 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.NotFound File not found

GemError.InvalidInput Invalid sound provided

GemError.NotSupported Sound not supported( no player available)

GemError.General Any other error