canPlay

abstract fun canPlay(@NonNull annotation: SoundAnnotation): Boolean

Checks whether sound annotation audio data is supported for playback.

Return

true if the annotation contains valid sound data in supported format.

Parameters

annotation

Sound annotation we wish to play.