class Immutable extends MediaPlayback
The default read-only implementation of MediaPlayback. You typically should not need to directly reference this class; instead, use the MediaPlayback.apply method to construct new instances.
- Alphabetic
- By Inheritance
- Immutable
- MediaPlayback
- Serializable
- ValidatingThriftStruct
- HasThriftStructCodec3
- Product4
- Product
- Equals
- ThriftStruct
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Immutable(mediaId: String, mediaType: MediaType, preroll: Boolean, eventType: MediaEvent)
- new Immutable(mediaId: String, mediaType: MediaType, preroll: Boolean, eventType: MediaEvent, _passthroughFields: Map[Short, TFieldBlob])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
_1: String
- Definition Classes
- MediaPlayback → Product4
-
def
_2: MediaType
- Definition Classes
- MediaPlayback → Product4
-
def
_3: Boolean
- Definition Classes
- MediaPlayback → Product4
-
def
_4: MediaEvent
- Definition Classes
- MediaPlayback → Product4
-
def
_codec: ValidatingThriftStructCodec3[MediaPlayback]
- Definition Classes
- MediaPlayback → ValidatingThriftStruct → HasThriftStructCodec3
-
val
_passthroughFields: Map[Short, TFieldBlob]
- Definition Classes
- Immutable → MediaPlayback
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(other: Any): Boolean
- Definition Classes
- MediaPlayback → Equals
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
copy(mediaId: String = this.mediaId, mediaType: MediaType = this.mediaType, preroll: Boolean = this.preroll, eventType: MediaEvent = this.eventType, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): MediaPlayback
- Definition Classes
- MediaPlayback
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- MediaPlayback → Equals → AnyRef → Any
-
val
eventType: MediaEvent
The event type.
The event type.
- Definition Classes
- Immutable → MediaPlayback
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getFieldBlob(_fieldId: Short): Option[TFieldBlob]
Gets a field value encoded as a binary blob using TCompactProtocol.
Gets a field value encoded as a binary blob using TCompactProtocol. If the specified field is present in the passthrough map, that value is returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.
- Definition Classes
- MediaPlayback
-
def
getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]
Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map.Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map.- Definition Classes
- MediaPlayback
-
def
hashCode(): Int
- Definition Classes
- MediaPlayback → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
mediaId: String
The id of the media asset, e.g.
The id of the media asset, e.g. gu-video-454297906 This matches up with the media id within the content api.
- Definition Classes
- Immutable → MediaPlayback
-
val
mediaType: MediaType
The media type
The media type
- Definition Classes
- Immutable → MediaPlayback
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
preroll: Boolean
If true, this event relates to the pre-roll (ad) of this media.
If true, this event relates to the pre-roll (ad) of this media. If false, this event reated to the core media content.
- Definition Classes
- Immutable → MediaPlayback
-
def
productArity: Int
- Definition Classes
- MediaPlayback → Product4 → Product
-
def
productElement(n: Int): Any
- Definition Classes
- MediaPlayback → Product4 → Product
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
def
productPrefix: String
- Definition Classes
- MediaPlayback → Product
-
def
setField(_blob: TFieldBlob): MediaPlayback
Sets a field using a TCompactProtocol-encoded binary blob.
Sets a field using a TCompactProtocol-encoded binary blob. If the field is a known field, the blob is decoded and the field is set to the decoded value. If the field is unknown and passthrough fields are enabled, then the blob will be stored in _passthroughFields.
- Definition Classes
- MediaPlayback
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- MediaPlayback → AnyRef → Any
-
def
toTuple: (String, MediaType, Boolean, MediaEvent)
- Definition Classes
- MediaPlayback
-
def
unsetEventType: MediaPlayback
- Definition Classes
- MediaPlayback
-
def
unsetField(_fieldId: Short): MediaPlayback
If the specified field is optional, it is set to None.
If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.
- Definition Classes
- MediaPlayback
-
def
unsetMediaId: MediaPlayback
If the specified field is optional, it is set to None.
If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.
- Definition Classes
- MediaPlayback
-
def
unsetMediaType: MediaPlayback
- Definition Classes
- MediaPlayback
-
def
unsetPreroll: MediaPlayback
- Definition Classes
- MediaPlayback
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
write(_oprot: TProtocol): Unit
- Definition Classes
- MediaPlayback → ThriftStruct