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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      VdoMediaMetadata() Default constructor for creating an empty VdoMediaMetadata object.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getTitle() Gets the title of the media.
      void setTitle(String title) Sets the title of the media.
      String getDescription() Gets the description of the media.
      void setDescription(String description) Sets the description of the media.
      Uri getPoster() Gets the URI of the poster image associated with the media.
      void setPoster(Uri poster) Sets the URI of the poster image associated with the media.
      void writeToParcel(Parcel dest, int flags) Writes the object's data to the provided Parcel.
      int describeContents() Describes the contents of the Parcelable object.
      boolean equals(@Nullable() Object obj) Compares this object with another object for equality.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VdoMediaMetadata

        VdoMediaMetadata()
        Default constructor for creating an empty VdoMediaMetadata object.
    • Method Detail

      • getTitle

         String getTitle()

        Gets the title of the media.

        Returns:

        The title of the media.

      • 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)

        Writes the object's data to the provided Parcel.

        Parameters:
        dest - The Parcel in which the object should be written.
        flags - Additional flags about how the object should be written.
      • describeContents

         int describeContents()

        Describes the contents of the Parcelable object.

        Returns:

        An integer bitmask indicating the set of special object types marshaled by the Parcelable.

      • equals

         boolean equals(@Nullable() Object obj)

        Compares this object with another object for equality.

        Parameters:
        obj - The object to compare this instance with.
        Returns:

        true if the objects are equal; false otherwise.