supports

public abstract boolean supports(MediaSource mediaSource)

Returns true if the receiver supports casting of mediaSource.