tv-provider/src/main/java/androidx/tvprovider/media/tv/TvContractCompat.java
public static boolean isChannelUri(Uri uri) {
        if (android.os.Build.VERSION.SDK_INT >= 24) {
            return TvContract.isChannelUri(uri);
        } else {
            return isChannelUriForTunerInput(uri) || isChannelUriForPassthroughInput(uri);
        }
    }
/**
     * Returns {@code true}, if {@code uri} is a channel URI.
     */
Returns  true, if  uri is a channel URI.
Returns true if uri is a channel URI .
public static boolean isChannelUri(Uri uri) {
        if (android.os.Build.VERSION.SDK_INT >= 24) {
            return TvContract.isChannelUri(uri);
        } else {
            return isChannelUriForTunerInput(uri) || isChannelUriForPassthroughInput(uri);
        }
    }
public static boolean isChannelUri ( Uri uri ) { if ( android . os . Build . VERSION . SDK_INT >= 24 ) { return TvContract . isChannelUri ( uri ) ; } else { return isChannelUriForTunerInput ( uri ) || isChannelUriForPassthroughInput ( uri ) ; } }
Returns {@code true}, if {@code uri} is a channel URI.
Returns { @code true } if { @code uri } is a channel URI .