java.lang.Object |
↳ |
com.google.android.gms.cast.AdBreakInfo |
Class Overview
A class that aggregates information about an ad that is playing or will be played on the
receiver. The sender app may use instances of this class to draw ad breaks on a
SeekBar
.
Summary
Nested Classes |
class |
AdBreakInfo.Builder |
A builder for AdBreakInfo . |
[Expand]
Inherited Constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
Public Methods |
boolean
|
equals(Object other)
|
String[]
|
getBreakClipIds()
Returns an unmodifiable list of ad break clip IDs in this break.
|
long
|
getDurationInMs()
Returns this break content’s duration in milliseconds.
|
String
|
getId()
Returns this break's ID.
|
long
|
getPlaybackPositionInMs()
Returns this break content’s playback position in milliseconds at which the ad will begin
playing.
|
int
|
hashCode()
|
boolean
|
isWatched()
Returns true if this break has been watched..
|
void
|
writeToParcel(Parcel out, int flags)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Public Methods
public
boolean
equals
(Object other)
public
String[]
getBreakClipIds
()
public
long
getDurationInMs
()
Returns this break content’s duration in milliseconds.
public
long
getPlaybackPositionInMs
()
Returns this break content’s playback position in milliseconds at which the ad will begin
playing.
public
boolean
isWatched
()
Returns true
if this break has been watched..
public
void
writeToParcel
(Parcel out, int flags)
Parameters |
out |
Parcel
|
flags |
int
|