Class DisplayManager
public class DisplayManager : JVMBridgeBase<DisplayManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
DisplayManager
- Implements
- Extension Methods
Constructors
DisplayManager(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public DisplayManager(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
DISPLAY_CATEGORY_PRESENTATION
public static String DISPLAY_CATEGORY_PRESENTATION { get; set; }
Property Value
EVENT_TYPE_DISPLAY_ADDED
public static long EVENT_TYPE_DISPLAY_ADDED { get; set; }
Property Value
EVENT_TYPE_DISPLAY_CHANGED
public static long EVENT_TYPE_DISPLAY_CHANGED { get; set; }
Property Value
EVENT_TYPE_DISPLAY_REFRESH_RATE
public static long EVENT_TYPE_DISPLAY_REFRESH_RATE { get; set; }
Property Value
EVENT_TYPE_DISPLAY_REMOVED
public static long EVENT_TYPE_DISPLAY_REMOVED { get; set; }
Property Value
EVENT_TYPE_DISPLAY_STATE
public static long EVENT_TYPE_DISPLAY_STATE { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
MATCH_CONTENT_FRAMERATE_ALWAYS
public static int MATCH_CONTENT_FRAMERATE_ALWAYS { get; set; }
Property Value
MATCH_CONTENT_FRAMERATE_NEVER
public static int MATCH_CONTENT_FRAMERATE_NEVER { get; set; }
Property Value
MATCH_CONTENT_FRAMERATE_SEAMLESSS_ONLY
public static int MATCH_CONTENT_FRAMERATE_SEAMLESSS_ONLY { get; set; }
Property Value
MATCH_CONTENT_FRAMERATE_UNKNOWN
public static int MATCH_CONTENT_FRAMERATE_UNKNOWN { get; set; }
Property Value
VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR
public static int VIRTUAL_DISPLAY_FLAG_AUTO_MIRROR { get; set; }
Property Value
VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY
public static int VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY { get; set; }
Property Value
VIRTUAL_DISPLAY_FLAG_PRESENTATION
public static int VIRTUAL_DISPLAY_FLAG_PRESENTATION { get; set; }
Property Value
VIRTUAL_DISPLAY_FLAG_PUBLIC
public static int VIRTUAL_DISPLAY_FLAG_PUBLIC { get; set; }
Property Value
VIRTUAL_DISPLAY_FLAG_SECURE
public static int VIRTUAL_DISPLAY_FLAG_SECURE { get; set; }
Property Value
Methods
CreateVirtualDisplay(VirtualDisplayConfig)
public VirtualDisplay CreateVirtualDisplay(VirtualDisplayConfig arg0)
Parameters
Returns
CreateVirtualDisplay(VirtualDisplayConfig, Handler, Callback)
public VirtualDisplay CreateVirtualDisplay(VirtualDisplayConfig arg0, Handler arg1, VirtualDisplay.Callback arg2)
Parameters
arg0VirtualDisplayConfigarg1Handlerarg2VirtualDisplay.Callback
Returns
CreateVirtualDisplay(String, int, int, int, Surface, int)
public VirtualDisplay CreateVirtualDisplay(String arg0, int arg1, int arg2, int arg3, Surface arg4, int arg5)
Parameters
Returns
CreateVirtualDisplay(String, int, int, int, Surface, int, Callback, Handler)
public VirtualDisplay CreateVirtualDisplay(String arg0, int arg1, int arg2, int arg3, Surface arg4, int arg5, VirtualDisplay.Callback arg6, Handler arg7)
Parameters
arg0Stringarg1intarg2intarg3intarg4Surfacearg5intarg6VirtualDisplay.Callbackarg7Handler
Returns
GetDisplay(int)
https://developer.android.com/reference/android/hardware/display/DisplayManager.html#getDisplay(int)
public Display GetDisplay(int arg0)
Parameters
Returns
GetDisplays()
public Display[] GetDisplays()
Returns
GetDisplays(String)
public Display[] GetDisplays(String arg0)
Parameters
Returns
GetHdrConversionMode()
public HdrConversionMode GetHdrConversionMode()
Returns
GetMatchContentFrameRateUserPreference()
public int GetMatchContentFrameRateUserPreference()
Returns
RegisterDisplayListener(DisplayListener, Handler)
public void RegisterDisplayListener(DisplayManager.DisplayListener arg0, Handler arg1)
Parameters
RegisterDisplayListener(Executor, long, DisplayListener)
public void RegisterDisplayListener(Executor arg0, long arg1, DisplayManager.DisplayListener arg2)
Parameters
arg0Executorarg1longarg2DisplayManager.DisplayListener
UnregisterDisplayListener(DisplayListener)
public void UnregisterDisplayListener(DisplayManager.DisplayListener arg0)