Package com.castlabs.android.player
Class CustomUtcTimingElement
- java.lang.Object
-
- com.castlabs.android.player.CustomUtcTimingElement
-
- All Implemented Interfaces:
Parcelable
public final class CustomUtcTimingElement extends Object implements Parcelable
Represents a UTCTiming element specifying how the client should synchronize its clock with the server.
-
-
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 static Parcelable.Creator<CustomUtcTimingElement>CREATORbooleanforceStringschemeIdUriStringvalue-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Constructor Description CustomUtcTimingElement(String schemeIdUri, String value, boolean force)Constructs the UTCTiming element with the specified parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdescribeContents()booleanequals(Object obj)inthashCode()StringtoString()voidwriteToParcel(Parcel dest, int flags)
-
-
-
Field Detail
-
schemeIdUri
public final String schemeIdUri
-
value
public final String value
-
force
public final boolean force
-
CREATOR
public static final Parcelable.Creator<CustomUtcTimingElement> CREATOR
-
-
Constructor Detail
-
CustomUtcTimingElement
public CustomUtcTimingElement(String schemeIdUri, String value, boolean force)
Constructs the UTCTiming element with the specified parameters- Parameters:
schemeIdUri- Scheme Id URL, see DASH "urn:mpeg:dash:utc:xxx" identifiersvalue- The value corresponding to the scheme being usedforce- Whether to force the usage or not. Iftruethis element will be used always regardless of what's informed in the manifest. Iffalsethen it will be used as a fallback only
-
-
Method Detail
-
describeContents
public int describeContents()
- Specified by:
describeContentsin interfaceParcelable
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
- Specified by:
writeToParcelin interfaceParcelable
-
-