TvContract.Programs.Genres.Encode(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.
Encodes genre strings to a text that can be put into the database.
[Android.Runtime.Register("encode", "([Ljava/lang/String;)Ljava/lang/String;", "")]
public static string? Encode(params string[] genres);
[<Android.Runtime.Register("encode", "([Ljava/lang/String;)Ljava/lang/String;", "")>]
static member Encode : string[] -> string
Parameters
- genres
- String[]
Genre strings. This value cannot be null. 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
Returns
an encoded genre string that can be inserted into the TvContract.Programs.COLUMN_BROADCAST_GENRE or TvContract.Programs.COLUMN_CANONICAL_GENRE column.
- Attributes
Remarks
Encodes genre strings to a text that can be put into the database.
Android reference for android.media.tv.TvContract.Programs.Genres.encode.
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.