Class Surface
public class Surface : Parcelable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IParcelable
- Inheritance
-
Surface
- Implements
- Inherited Members
- Extension Methods
Constructors
Surface(SurfaceTexture)
public Surface(SurfaceTexture arg0)
Parameters
Surface(SurfaceControl)
public Surface(SurfaceControl arg0)
Parameters
Surface(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 Surface(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
CHANGE_FRAME_RATE_ALWAYS
public static int CHANGE_FRAME_RATE_ALWAYS { get; set; }
Property Value
CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS
https://developer.android.com/reference/android/view/Surface.html#CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS
public static int CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS { get; set; }
Property Value
CREATOR
public static Parcelable.Creator CREATOR { get; set; }
Property Value
FRAME_RATE_COMPATIBILITY_AT_LEAST
public static int FRAME_RATE_COMPATIBILITY_AT_LEAST { get; set; }
Property Value
FRAME_RATE_COMPATIBILITY_DEFAULT
public static int FRAME_RATE_COMPATIBILITY_DEFAULT { get; set; }
Property Value
FRAME_RATE_COMPATIBILITY_FIXED_SOURCE
public static int FRAME_RATE_COMPATIBILITY_FIXED_SOURCE { 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
ROTATION_0
public static int ROTATION_0 { get; set; }
Property Value
ROTATION_180
public static int ROTATION_180 { get; set; }
Property Value
ROTATION_270
public static int ROTATION_270 { get; set; }
Property Value
ROTATION_90
public static int ROTATION_90 { get; set; }
Property Value
Methods
ClearFrameRate()
public void ClearFrameRate()
CreatePoolableInstance(SurfaceTexture)
HPA initializer for Surface(Android.Graphics.SurfaceTexture arg0)
public static Surface CreatePoolableInstance(SurfaceTexture arg0)
Parameters
arg0SurfaceTexture
Returns
CreatePoolableInstance(SurfaceControl)
HPA initializer for Surface(Android.View.SurfaceControl arg0)
public static Surface CreatePoolableInstance(SurfaceControl arg0)
Parameters
arg0SurfaceControl
Returns
DescribeContents()
public int DescribeContents()
Returns
IsValid()
public bool IsValid()
Returns
LockCanvas(Rect)
public Canvas LockCanvas(Rect arg0)
Parameters
Returns
Exceptions
LockHardwareCanvas()
public Canvas LockHardwareCanvas()
Returns
ReadFromParcel(Parcel)
public void ReadFromParcel(Parcel arg0)
Parameters
Release()
public void Release()
SetFrameRate(float, int)
public void SetFrameRate(float arg0, int arg1)
Parameters
SetFrameRate(float, int, int)
public void SetFrameRate(float arg0, int arg1, int arg2)
Parameters
UnlockCanvas(Canvas)
[Obsolete("Deprecated in JVM")]
public void UnlockCanvas(Canvas arg0)
Parameters
UnlockCanvasAndPost(Canvas)
public void UnlockCanvasAndPost(Canvas arg0)
Parameters
WriteToParcel(Parcel, int)
public void WriteToParcel(Parcel arg0, int arg1)