Class Display
public class Display : JVMBridgeBase<Display>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
Display
- Implements
- Extension Methods
Constructors
Display(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 Display(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
DEFAULT_DISPLAY
public static int DEFAULT_DISPLAY { get; set; }
Property Value
FLAG_PRESENTATION
public static int FLAG_PRESENTATION { get; set; }
Property Value
FLAG_PRIVATE
public static int FLAG_PRIVATE { get; set; }
Property Value
FLAG_ROUND
public static int FLAG_ROUND { get; set; }
Property Value
FLAG_SECURE
public static int FLAG_SECURE { get; set; }
Property Value
FLAG_SUPPORTS_PROTECTED_BUFFERS
public static int FLAG_SUPPORTS_PROTECTED_BUFFERS { get; set; }
Property Value
FRAME_RATE_CATEGORY_HIGH
public static int FRAME_RATE_CATEGORY_HIGH { get; set; }
Property Value
FRAME_RATE_CATEGORY_NORMAL
public static int FRAME_RATE_CATEGORY_NORMAL { get; set; }
Property Value
INVALID_DISPLAY
public static int INVALID_DISPLAY { 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
STATE_DOZE
public static int STATE_DOZE { get; set; }
Property Value
STATE_DOZE_SUSPEND
public static int STATE_DOZE_SUSPEND { get; set; }
Property Value
STATE_OFF
public static int STATE_OFF { get; set; }
Property Value
STATE_ON
public static int STATE_ON { get; set; }
Property Value
STATE_ON_SUSPEND
public static int STATE_ON_SUSPEND { get; set; }
Property Value
STATE_UNKNOWN
public static int STATE_UNKNOWN { get; set; }
Property Value
STATE_VR
public static int STATE_VR { get; set; }
Property Value
Methods
GetAppVsyncOffsetNanos()
public long GetAppVsyncOffsetNanos()
Returns
GetCurrentSizeRange(Point, Point)
public void GetCurrentSizeRange(Point arg0, Point arg1)
Parameters
GetCutout()
public DisplayCutout GetCutout()
Returns
GetDeviceProductInfo()
public DeviceProductInfo GetDeviceProductInfo()
Returns
GetDisplayId()
public int GetDisplayId()
Returns
GetFlags()
public int GetFlags()
Returns
GetHdrCapabilities()
public Display.HdrCapabilities GetHdrCapabilities()
Returns
GetHdrSdrRatio()
public float GetHdrSdrRatio()
Returns
GetHeight()
[Obsolete("Deprecated in JVM")]
public int GetHeight()
Returns
GetHighestHdrSdrRatio()
public float GetHighestHdrSdrRatio()
Returns
GetMetrics(DisplayMetrics)
[Obsolete("Deprecated in JVM")]
public void GetMetrics(DisplayMetrics arg0)
Parameters
GetMode()
public Display.Mode GetMode()
Returns
GetName()
public String GetName()
Returns
GetOrientation()
[Obsolete("Deprecated in JVM")]
public int GetOrientation()
Returns
GetOverlaySupport()
public OverlayProperties GetOverlaySupport()
Returns
GetPixelFormat()
[Obsolete("Deprecated in JVM")]
public int GetPixelFormat()
Returns
GetPreferredWideGamutColorSpace()
public ColorSpace GetPreferredWideGamutColorSpace()
Returns
GetPresentationDeadlineNanos()
public long GetPresentationDeadlineNanos()
Returns
GetRealMetrics(DisplayMetrics)
[Obsolete("Deprecated in JVM")]
public void GetRealMetrics(DisplayMetrics arg0)
Parameters
GetRealSize(Point)
[Obsolete("Deprecated in JVM")]
public void GetRealSize(Point arg0)
Parameters
GetRectSize(Rect)
https://developer.android.com/reference/android/view/Display.html#getRectSize(android.graphics.Rect)
[Obsolete("Deprecated in JVM")]
public void GetRectSize(Rect arg0)
Parameters
GetRefreshRate()
public float GetRefreshRate()
Returns
GetRotation()
public int GetRotation()
Returns
GetRoundedCorner(int)
public RoundedCorner GetRoundedCorner(int arg0)
Parameters
Returns
GetShape()
public DisplayShape GetShape()
Returns
GetSize(Point)
[Obsolete("Deprecated in JVM")]
public void GetSize(Point arg0)
Parameters
GetState()
public int GetState()
Returns
GetSuggestedFrameRate(int)
public float GetSuggestedFrameRate(int arg0)
Parameters
Returns
GetSupportedModes()
public Display.Mode[] GetSupportedModes()
Returns
GetSupportedRefreshRates()
public float[] GetSupportedRefreshRates()
Returns
GetWidth()
[Obsolete("Deprecated in JVM")]
public int GetWidth()
Returns
HasArrSupport()
public bool HasArrSupport()
Returns
IsHdr()
public bool IsHdr()
Returns
IsHdrSdrRatioAvailable()
public bool IsHdrSdrRatioAvailable()
Returns
IsMinimalPostProcessingSupported()
https://developer.android.com/reference/android/view/Display.html#isMinimalPostProcessingSupported()
public bool IsMinimalPostProcessingSupported()
Returns
IsValid()
public bool IsValid()
Returns
IsWideColorGamut()
public bool IsWideColorGamut()
Returns
RegisterHdrSdrRatioChangedListener(Executor, Consumer<Display>)
public void RegisterHdrSdrRatioChangedListener(Executor arg0, Consumer<Display> arg1)
Parameters
UnregisterHdrSdrRatioChangedListener(Consumer<Display>)
public void UnregisterHdrSdrRatioChangedListener(Consumer<Display> arg0)