Package com.castlabs.android.player
Class DisplayInfo
- java.lang.Object
-
- com.castlabs.android.player.DisplayInfo
-
public class DisplayInfo extends Object
Wraps information about currently connected displays.- Since:
- 3.0.0
-
-
Field Summary
Fields Modifier and Type Field Description int
numberOfPresentationDisplays
The number of presentation displays.int
numberOfTotalDisplays
The total number of displaysboolean
remote
True if a remote display is connected on the current route.boolean
secure
True if all connected displays are secure and support protected buffers.
-
-
-
Field Detail
-
remote
public final boolean remote
True 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 secure
True 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 numberOfTotalDisplays
The total number of displays
-
numberOfPresentationDisplays
public final int numberOfPresentationDisplays
The number of presentation displays. These can be for instance debug overlays or casting screens.
-
-