Playlist

Constructors

Link copied to clipboard
constructor(properties: Map<String, Any>)
constructor(properties: Map<String, Any>, videos: List<Video>)
Initializes a new Playlist with a predefined metadata properties collection and a predefined List of Video objects.

Types

Link copied to clipboard
class Fields
Provides the list of known field names that can appear in the properties Map.

Properties

Link copied to clipboard
open var CREATOR: Creator<Playlist>
Creator for de-serializing playlist from the given Parcel.
Link copied to clipboard
An empty playlist.
Link copied to clipboard
Link copied to clipboard
The type of the parcelable object.
Link copied to clipboard
val TAG: String
Link copied to clipboard

Functions

Link copied to clipboard
open fun describeContents(): Int
Link copied to clipboard
Retrieves the ordered List of all valid Videos and error Videos.
Link copied to clipboard
open fun getCount(): Integer
Retrieves the number of valid videos in this Playlist.
Link copied to clipboard
open fun getIntegerProperty(propertyName: String): Integer
Convenience method to retrieve a property from the dynamic properties Map that is expected to be an Integer.
open fun getIntegerProperty(properties: Map<String, Any>, propertyName: String): Integer
Convenience static method to retrieve a property from a properties Map that is expected to be an Integer.
Link copied to clipboard
open fun getLongProperty(properties: Map<String, Any>, propertyName: String): Long
Convenience static method to retrieve a property from a properties Map that is expected to be an Integer.
Link copied to clipboard
open fun getProperties(): Map<String, Any>
Retrieves a Map of dynamic properties for this object.
Link copied to clipboard
open fun getStringProperty(propertyName: String): String
Convenience method to retrieve a property from the dynamic properties Map that is expected to be a String.
open fun getStringProperty(properties: Map<String, Any>, propertyName: String): String
Convenience static method to retrieve a property from a properties Map that is expected to be a String.
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun writeToParcel(parcel: Parcel, i: Int)