java.lang.Object |
↳ |
com.google.android.gms.cast.AdBreakStatus |
Class Overview
A class that holds status information about an ad break.
Summary
[Expand]
Inherited Constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
Public Methods |
boolean
|
equals(Object other)
|
String
|
getBreakClipId()
Returns the ID of the current ad break clip.
|
String
|
getBreakId()
Returns the ID of the current ad break.
|
long
|
getCurrentBreakClipTimeInMs()
Returns the current position of the ad break clip, in milliseconds, from the start of the
ad break clip.
|
long
|
getCurrentBreakTimeInMs()
Returns the current position of the ad break, in milliseconds, from the start of the ad
break.
|
long
|
getWhenSkippableInMs()
Returns the number of milliseconds after the ad break clip starts when the user can skip
the ad break clip.
|
int
|
hashCode()
|
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)
|
|
Constants
public
static
final
int
AD_BREAK_CLIP_NOT_SKIPPABLE
Constant Value:
-1
(0xffffffff)
Public Methods
public
boolean
equals
(Object other)
public
String
getBreakClipId
()
public
String
getBreakId
()
Returns the ID of the current ad break. The corresponding AdBreakInfo
can be
obtained by looking up the ID in the list returned by getAdBreaks()
.
public
long
getCurrentBreakClipTimeInMs
()
Returns the current position of the ad break clip, in milliseconds, from the start of the
ad break clip.
public
long
getCurrentBreakTimeInMs
()
Returns the current position of the ad break, in milliseconds, from the start of the ad
break.
public
long
getWhenSkippableInMs
()
Returns the number of milliseconds after the ad break clip starts when the user can skip
the ad break clip. If this method returns AD_BREAK_CLIP_NOT_SKIPPABLE
, then the
ad break cannot be skipped.
public
void
writeToParcel
(Parcel out, int flags)
Parameters |
out |
Parcel
|
flags |
int
|