Table of Contents

Class Display

Namespace
Android.View
Assembly
MASES.Netdroid.dll
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

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

DEFAULT_DISPLAY

public static int DEFAULT_DISPLAY { get; set; }

Property Value

int

FLAG_PRESENTATION

public static int FLAG_PRESENTATION { get; set; }

Property Value

int

FLAG_PRIVATE

public static int FLAG_PRIVATE { get; set; }

Property Value

int

FLAG_ROUND

public static int FLAG_ROUND { get; set; }

Property Value

int

FLAG_SECURE

public static int FLAG_SECURE { get; set; }

Property Value

int

FLAG_SUPPORTS_PROTECTED_BUFFERS

public static int FLAG_SUPPORTS_PROTECTED_BUFFERS { get; set; }

Property Value

int

FRAME_RATE_CATEGORY_HIGH

public static int FRAME_RATE_CATEGORY_HIGH { get; set; }

Property Value

int

FRAME_RATE_CATEGORY_NORMAL

public static int FRAME_RATE_CATEGORY_NORMAL { get; set; }

Property Value

int

INVALID_DISPLAY

public static int INVALID_DISPLAY { get; set; }

Property Value

int

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

STATE_DOZE

public static int STATE_DOZE { get; set; }

Property Value

int

STATE_DOZE_SUSPEND

public static int STATE_DOZE_SUSPEND { get; set; }

Property Value

int

STATE_OFF

public static int STATE_OFF { get; set; }

Property Value

int

STATE_ON

public static int STATE_ON { get; set; }

Property Value

int

STATE_ON_SUSPEND

public static int STATE_ON_SUSPEND { get; set; }

Property Value

int

STATE_UNKNOWN

public static int STATE_UNKNOWN { get; set; }

Property Value

int

STATE_VR

public static int STATE_VR { get; set; }

Property Value

int

Methods

GetAppVsyncOffsetNanos()

public long GetAppVsyncOffsetNanos()

Returns

long

long

GetCurrentSizeRange(Point, Point)

public void GetCurrentSizeRange(Point arg0, Point arg1)

Parameters

arg0 Point

Point

arg1 Point

Point

GetCutout()

public DisplayCutout GetCutout()

Returns

DisplayCutout

DisplayCutout

GetDeviceProductInfo()

public DeviceProductInfo GetDeviceProductInfo()

Returns

DeviceProductInfo

DeviceProductInfo

GetDisplayId()

public int GetDisplayId()

Returns

int

int

GetFlags()

public int GetFlags()

Returns

int

int

GetHdrCapabilities()

public Display.HdrCapabilities GetHdrCapabilities()

Returns

Display.HdrCapabilities

Display.HdrCapabilities

GetHdrSdrRatio()

public float GetHdrSdrRatio()

Returns

float

float

GetHeight()

[Obsolete("Deprecated in JVM")]
public int GetHeight()

Returns

int

int

GetHighestHdrSdrRatio()

public float GetHighestHdrSdrRatio()

Returns

float

float

GetMetrics(DisplayMetrics)

[Obsolete("Deprecated in JVM")]
public void GetMetrics(DisplayMetrics arg0)

Parameters

arg0 DisplayMetrics

DisplayMetrics

GetMode()

public Display.Mode GetMode()

Returns

Display.Mode

Display.Mode

GetName()

public String GetName()

Returns

String

String

GetOrientation()

[Obsolete("Deprecated in JVM")]
public int GetOrientation()

Returns

int

int

GetOverlaySupport()

public OverlayProperties GetOverlaySupport()

Returns

OverlayProperties

OverlayProperties

GetPixelFormat()

[Obsolete("Deprecated in JVM")]
public int GetPixelFormat()

Returns

int

int

GetPreferredWideGamutColorSpace()

public ColorSpace GetPreferredWideGamutColorSpace()

Returns

ColorSpace

ColorSpace

GetPresentationDeadlineNanos()

public long GetPresentationDeadlineNanos()

Returns

long

long

GetRealMetrics(DisplayMetrics)

[Obsolete("Deprecated in JVM")]
public void GetRealMetrics(DisplayMetrics arg0)

Parameters

arg0 DisplayMetrics

DisplayMetrics

GetRealSize(Point)

[Obsolete("Deprecated in JVM")]
public void GetRealSize(Point arg0)

Parameters

arg0 Point

Point

GetRectSize(Rect)

[Obsolete("Deprecated in JVM")]
public void GetRectSize(Rect arg0)

Parameters

arg0 Rect

Rect

GetRefreshRate()

public float GetRefreshRate()

Returns

float

float

GetRotation()

public int GetRotation()

Returns

int

int

GetRoundedCorner(int)

public RoundedCorner GetRoundedCorner(int arg0)

Parameters

arg0 int

int

Returns

RoundedCorner

RoundedCorner

GetShape()

public DisplayShape GetShape()

Returns

DisplayShape

DisplayShape

GetSize(Point)

[Obsolete("Deprecated in JVM")]
public void GetSize(Point arg0)

Parameters

arg0 Point

Point

GetState()

public int GetState()

Returns

int

int

GetSuggestedFrameRate(int)

public float GetSuggestedFrameRate(int arg0)

Parameters

arg0 int

int

Returns

float

float

GetSupportedModes()

public Display.Mode[] GetSupportedModes()

Returns

Mode[]

Display.Mode

GetSupportedRefreshRates()

public float[] GetSupportedRefreshRates()

Returns

float[]

float

GetWidth()

[Obsolete("Deprecated in JVM")]
public int GetWidth()

Returns

int

int

HasArrSupport()

public bool HasArrSupport()

Returns

bool

bool

IsHdr()

public bool IsHdr()

Returns

bool

bool

IsHdrSdrRatioAvailable()

public bool IsHdrSdrRatioAvailable()

Returns

bool

bool

IsMinimalPostProcessingSupported()

public bool IsMinimalPostProcessingSupported()

Returns

bool

bool

IsValid()

public bool IsValid()

Returns

bool

bool

IsWideColorGamut()

public bool IsWideColorGamut()

Returns

bool

bool

RegisterHdrSdrRatioChangedListener(Executor, Consumer<Display>)

public void RegisterHdrSdrRatioChangedListener(Executor arg0, Consumer<Display> arg1)

Parameters

arg0 Executor

Executor

arg1 Consumer<Display>

Consumer

UnregisterHdrSdrRatioChangedListener(Consumer<Display>)

public void UnregisterHdrSdrRatioChangedListener(Consumer<Display> arg0)

Parameters

arg0 Consumer<Display>

Consumer