TvContract.Programs.Genres.Decode(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Decodes the genre strings from the text stored in the database.
[Android.Runtime.Register("decode", "(Ljava/lang/String;)[Ljava/lang/String;", "")]
public static string[]? Decode(string genres);
[<Android.Runtime.Register("decode", "(Ljava/lang/String;)[Ljava/lang/String;", "")>]
static member Decode : string -> string[]
Parameters
- genres
- String
The encoded genre string retrieved from the TvContract.Programs.COLUMN_BROADCAST_GENRE or TvContract.Programs.COLUMN_CANONICAL_GENRE column. This value cannot be null.
Returns
genre strings. Value is one of the following: FAMILY_KIDS; SPORTS; SHOPPING; MOVIES; COMEDY; TRAVEL; DRAMA; EDUCATION; ANIMAL_WILDLIFE; NEWS; GAMING; ARTS; ENTERTAINMENT; LIFE_STYLE; MUSIC; PREMIER; TECH_SCIENCE
- Attributes
Remarks
Decodes the genre strings from the text stored in the database.
Android reference for android.media.tv.TvContract.Programs.Genres.decode.
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.