Package com.vdocipher.aegis.player
Class VdoMediaMetadata
-
- All Implemented Interfaces:
-
android.os.Parcelable
public class VdoMediaMetadata implements Parcelable
VdoMediaMetadata is a class that encapsulates metadata for media content in a VDO Player. It includes details such as the title, description, and poster image of the media.
This class implements the Parcelable interface, allowing instances of this class to be passed between Android components.
-
-
Field Summary
Fields Modifier and Type Field Description public Stringtitlepublic Stringdescriptionpublic Uriposterpublic final static Parcelable.Creator<VdoMediaMetadata>CREATOR
-
Constructor Summary
Constructors Constructor Description VdoMediaMetadata()Default constructor for creating an empty VdoMediaMetadata object.
-
Method Summary
Modifier and Type Method Description StringgetTitle()Gets the title of the media. voidsetTitle(String title)Sets the title of the media. StringgetDescription()Gets the description of the media. voidsetDescription(String description)Sets the description of the media. UrigetPoster()Gets the URI of the poster image associated with the media. voidsetPoster(Uri poster)Sets the URI of the poster image associated with the media. voidwriteToParcel(Parcel dest, int flags)intdescribeContents()booleanequals(@Nullable() Object obj)Compares this object with another object for equality. -
-
Method Detail
-
setTitle
void setTitle(String title)
Sets the title of the media.
- Parameters:
title- The title to set.
-
getDescription
String getDescription()
Gets the description of the media.
- Returns:
The description of the media.
-
setDescription
void setDescription(String description)
Sets the description of the media.
- Parameters:
description- The description to set.
-
getPoster
Uri getPoster()
Gets the URI of the poster image associated with the media.
- Returns:
The URI of the poster image.
-
setPoster
void setPoster(Uri poster)
Sets the URI of the poster image associated with the media.
- Parameters:
poster- The URI of the poster image to set.
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
describeContents
int describeContents()
-
-
-
-