canPlaySource

open fun canPlaySource(source: Source): Boolean

Check if the device has a decoder for the given source. NOTE: The source must contain a codecs to determine if the device has a decoder.

Return

True if the device has an audio and video decoder based on the codecs.

Parameters

source

The source to check.