Class DisplayMetrics
public class DisplayMetrics : JVMBridgeBase<DisplayMetrics>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
DisplayMetrics
- Implements
- Extension Methods
Constructors
DisplayMetrics()
public DisplayMetrics()
DisplayMetrics(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 DisplayMetrics(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
DENSITY_140
public static int DENSITY_140 { get; set; }
Property Value
DENSITY_180
public static int DENSITY_180 { get; set; }
Property Value
DENSITY_200
public static int DENSITY_200 { get; set; }
Property Value
DENSITY_220
public static int DENSITY_220 { get; set; }
Property Value
DENSITY_260
public static int DENSITY_260 { get; set; }
Property Value
DENSITY_280
public static int DENSITY_280 { get; set; }
Property Value
DENSITY_300
public static int DENSITY_300 { get; set; }
Property Value
DENSITY_340
public static int DENSITY_340 { get; set; }
Property Value
DENSITY_360
public static int DENSITY_360 { get; set; }
Property Value
DENSITY_390
public static int DENSITY_390 { get; set; }
Property Value
DENSITY_400
public static int DENSITY_400 { get; set; }
Property Value
DENSITY_420
public static int DENSITY_420 { get; set; }
Property Value
DENSITY_440
public static int DENSITY_440 { get; set; }
Property Value
DENSITY_450
public static int DENSITY_450 { get; set; }
Property Value
DENSITY_520
public static int DENSITY_520 { get; set; }
Property Value
DENSITY_560
public static int DENSITY_560 { get; set; }
Property Value
DENSITY_600
public static int DENSITY_600 { get; set; }
Property Value
DENSITY_DEFAULT
public static int DENSITY_DEFAULT { get; set; }
Property Value
DENSITY_DEVICE_STABLE
public static int DENSITY_DEVICE_STABLE { get; set; }
Property Value
DENSITY_HIGH
public static int DENSITY_HIGH { get; set; }
Property Value
DENSITY_LOW
public static int DENSITY_LOW { get; set; }
Property Value
DENSITY_MEDIUM
public static int DENSITY_MEDIUM { get; set; }
Property Value
DENSITY_TV
public static int DENSITY_TV { get; set; }
Property Value
DENSITY_XHIGH
public static int DENSITY_XHIGH { get; set; }
Property Value
DENSITY_XXHIGH
public static int DENSITY_XXHIGH { get; set; }
Property Value
DENSITY_XXXHIGH
public static int DENSITY_XXXHIGH { 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
density
public float density { get; set; }
Property Value
densityDpi
public int densityDpi { get; set; }
Property Value
heightPixels
public int heightPixels { get; set; }
Property Value
scaledDensity
[Obsolete("Deprecated in JVM")]
public float scaledDensity { get; set; }
Property Value
widthPixels
public int widthPixels { get; set; }
Property Value
xdpi
public float xdpi { get; set; }
Property Value
ydpi
public float ydpi { get; set; }
Property Value
Methods
CreatePoolableInstance()
HPA initializer for DisplayMetrics()
public static DisplayMetrics CreatePoolableInstance()
Returns
SetTo(DisplayMetrics)
public void SetTo(DisplayMetrics arg0)
Parameters
SetToDefaults()
public void SetToDefaults()