Package com.castlabs.android.player
Class DisplayInfo
java.lang.Object
com.castlabs.android.player.DisplayInfo
Wraps information about currently connected displays.
- Since:
- 3.0.0
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
The number of presentation displays.final int
The total number of displaysfinal boolean
True if a remote display is connected on the current route.final boolean
True if all connected displays are secure and support protected buffers. -
Method Summary
-
Field Details
-
remote
public final boolean remoteTrue if a remote display is connected on the current route. This is usually a mirrored display connected through wifi. HDMI connection might not be covered by this. -
secure
public final boolean secureTrue if all connected displays are secure and support protected buffers. SeeDisplay.FLAG_SECURE
andDisplay.FLAG_SUPPORTS_PROTECTED_BUFFERS
. Note that this information is only available on Devices with API level >= 17. On API 16, this will always befalse
. -
numberOfTotalDisplays
public final int numberOfTotalDisplaysThe total number of displays -
numberOfPresentationDisplays
public final int numberOfPresentationDisplaysThe number of presentation displays. These can be for instance debug overlays or casting screens.
-
-
Method Details