Package com.jwplayer.pub.api.events
Class CastEvent
java.lang.Object
com.jwplayer.pub.api.events.Event
com.jwplayer.pub.api.events.CastEvent
Fired whenever the cast state has changed
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CastEvent
-
-
Method Details
-
isActive
public boolean isActive()- Returns:
- Returns
true
if the player currently casting,false
otherwise
-
isAvailable
public boolean isAvailable()- Returns:
- Returns
true
if there's a cast device available,false
otherwise
-
getDeviceName
- Returns:
- Returns the cast device name when casting, empty when not casting
-