Language

TvContract.Programs.Genres.IsCanonical(String) Method

Definition

Returns whether a given text is a canonical genre defined in Genres.

[Android.Runtime.Register("isCanonical", "(Ljava/lang/String;)Z", "", ApiSince=24)]
public static bool IsCanonical(string? genre);
[<Android.Runtime.Register("isCanonical", "(Ljava/lang/String;)Z", "", ApiSince=24)>]
static member IsCanonical : string -> bool

Parameters

genre
String

The name of genre to be checked.

Returns

true if the genre is canonical, otherwise false.

Attributes

Remarks

Returns whether a given text is a canonical genre defined in Genres.

Android reference for android.media.tv.TvContract.Programs.Genres.isCanonical.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to