Package com.castlabs.android.player
Class MediaCodecInfo
java.lang.Object
com.castlabs.android.player.MediaCodecInfo
- All Implemented Interfaces:
Parcelable
Container class holding the media codec name associated with the mimetype
- Since:
- 4.2.6
-
Nested Class Summary
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
-
Field Summary
Modifier and TypeFieldDescriptionfinal String
static final Parcelable.Creator
<MediaCodecInfo> final String
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
ConstructorDescriptionMediaCodecInfo
(String mimeType, String codecName) Creates the container class. -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
int
hashCode()
void
writeToParcel
(Parcel dest, int flags)
-
Field Details
-
mimeType
-
codecName
-
CREATOR
-
-
Constructor Details
-
MediaCodecInfo
Creates the container class. Mimetypes are values ofMimeTypes
e.g.MimeTypes.VIDEO_H264
. Codec names areString
s as registered in the system- Parameters:
mimeType
- the mimetypecodecName
- the codec name
-
-
Method Details
-
describeContents
public int describeContents()- Specified by:
describeContents
in interfaceParcelable
-
writeToParcel
- Specified by:
writeToParcel
in interfaceParcelable
-
hashCode
public int hashCode() -
equals
-