toMediaInfo
Creates a MediaInfo object using a Video and a Source. The MediaMetadata will be created with the information available retrieved from the parameters.
Return
the media info
Parameters
the video
the source
Creates a MediaInfo object using a Video, a Source and the MediaMetadata. If the MediaMetadata is null, one will be created with the information available retrieved from the parameters.
Return
the media info
Parameters
the video
the source
the media metadata
the cast custom data
Deprecated
Creates a MediaInfo object using a Video and a Source. The MediaMetadata will be created with the information available retrieved from the parameters.
Return
the media info
Deprecated
Use toMediaInfo.
Parameters
the context
the video
the source
Deprecated
Creates a MediaInfo object using a Video, a Source and the MediaMetadata. If the MediaMetadata is null, one will be created with the information available retrieved from the parameters.
Return
the media info
Deprecated
Use toMediaInfo.
Parameters
the context
the video
the source
the media metadata
the cast custom data