List of usage examples for android.hardware.display DisplayManager DISPLAY_CATEGORY_PRESENTATION
String DISPLAY_CATEGORY_PRESENTATION
To view the source code for android.hardware.display DisplayManager DISPLAY_CATEGORY_PRESENTATION.
Click Source Link
From source file:de.fhg.fokus.famium.presentation.CDVPresentationPlugin.java
private DisplayManager getDisplayManager() { if (displayManager == null) { displayManager = (DisplayManager) getActivity().getSystemService(Activity.DISPLAY_SERVICE); for (Display display : displayManager.getDisplays(DisplayManager.DISPLAY_CATEGORY_PRESENTATION)) { addDisplay(display);/*from w w w .ja va 2 s. com*/ } displayManager.registerDisplayListener(this, null); } return displayManager; }