Package com.castlabs.android.player
Class MediaCodecInfo
- java.lang.Object
-
- com.castlabs.android.player.MediaCodecInfo
-
- All Implemented Interfaces:
Parcelable
public class MediaCodecInfo extends Object implements 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 extends Object>, Parcelable.Creator<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description String
codecName
static Parcelable.Creator<MediaCodecInfo>
CREATOR
String
mimeType
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Constructor Description MediaCodecInfo(String mimeType, String codecName)
Creates the container class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
boolean
equals(Object obj)
int
hashCode()
void
writeToParcel(Parcel dest, int flags)
-
-
-
Field Detail
-
mimeType
@NonNull public final String mimeType
-
codecName
@Nullable public final String codecName
-
CREATOR
public static final Parcelable.Creator<MediaCodecInfo> CREATOR
-
-
Method Detail
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceParcelable
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceParcelable
-
-