Table of Contents

Class SurfaceView

Namespace
Android.View
Assembly
MASES.Netdroid.dll
public class SurfaceView : View, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IAccessibilityEventSource
Inheritance
SurfaceView
Implements
Derived
Inherited Members
Extension Methods

Constructors

SurfaceView(Context)

public SurfaceView(Context arg0)

Parameters

arg0 Context

Context

SurfaceView(Context, AttributeSet)

public SurfaceView(Context arg0, AttributeSet arg1)

Parameters

arg0 Context

Context

arg1 AttributeSet

AttributeSet

SurfaceView(Context, AttributeSet, int)

public SurfaceView(Context arg0, AttributeSet arg1, int arg2)

Parameters

arg0 Context

Context

arg1 AttributeSet

AttributeSet

arg2 int

int

SurfaceView(Context, AttributeSet, int, int)

public SurfaceView(Context arg0, AttributeSet arg1, int arg2, int arg3)

Parameters

arg0 Context

Context

arg1 AttributeSet

AttributeSet

arg2 int

int

arg3 int

int

SurfaceView(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 SurfaceView(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

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

SURFACE_LIFECYCLE_DEFAULT

public static int SURFACE_LIFECYCLE_DEFAULT { get; set; }

Property Value

int

SURFACE_LIFECYCLE_FOLLOWS_ATTACHMENT

public static int SURFACE_LIFECYCLE_FOLLOWS_ATTACHMENT { get; set; }

Property Value

int

SURFACE_LIFECYCLE_FOLLOWS_VISIBILITY

public static int SURFACE_LIFECYCLE_FOLLOWS_VISIBILITY { get; set; }

Property Value

int

Methods

ApplyTransactionToFrame(Transaction)

public void ApplyTransactionToFrame(SurfaceControl.Transaction arg0)

Parameters

arg0 SurfaceControl.Transaction

SurfaceControl.Transaction

ClearChildSurfacePackage()

public void ClearChildSurfacePackage()

CreatePoolableInstance(Context)

HPA initializer for SurfaceView(Android.Content.Context arg0)

public static SurfaceView CreatePoolableInstance(Context arg0)

Parameters

arg0 Context

Returns

SurfaceView

CreatePoolableInstance(Context, AttributeSet)

HPA initializer for SurfaceView(Android.Content.Context arg0, Android.Util.AttributeSet arg1)

public static SurfaceView CreatePoolableInstance(Context arg0, AttributeSet arg1)

Parameters

arg0 Context
arg1 AttributeSet

Returns

SurfaceView

CreatePoolableInstance(Context, AttributeSet, int)

HPA initializer for SurfaceView(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2)

public static SurfaceView CreatePoolableInstance(Context arg0, AttributeSet arg1, int arg2)

Parameters

arg0 Context
arg1 AttributeSet
arg2 int

Returns

SurfaceView

CreatePoolableInstance(Context, AttributeSet, int, int)

HPA initializer for SurfaceView(Android.Content.Context arg0, Android.Util.AttributeSet arg1, int arg2, int arg3)

public static SurfaceView CreatePoolableInstance(Context arg0, AttributeSet arg1, int arg2, int arg3)

Parameters

arg0 Context
arg1 AttributeSet
arg2 int
arg3 int

Returns

SurfaceView

GetChildSurfacePackage()

public SurfaceControlViewHost.SurfacePackage GetChildSurfacePackage()

Returns

SurfaceControlViewHost.SurfacePackage

SurfaceControlViewHost.SurfacePackage

GetCompositionOrder()

public int GetCompositionOrder()

Returns

int

int

GetHolder()

public SurfaceHolder GetHolder()

Returns

SurfaceHolder

SurfaceHolder

GetHostToken()

[Obsolete("Deprecated in JVM")]
public IBinder GetHostToken()

Returns

IBinder

IBinder

GetSurfaceControl()

public SurfaceControl GetSurfaceControl()

Returns

SurfaceControl

SurfaceControl

SetChildSurfacePackage(SurfacePackage)

public void SetChildSurfacePackage(SurfaceControlViewHost.SurfacePackage arg0)

Parameters

arg0 SurfaceControlViewHost.SurfacePackage

SurfaceControlViewHost.SurfacePackage

SetCompositionOrder(int)

public void SetCompositionOrder(int arg0)

Parameters

arg0 int

int

SetDesiredHdrHeadroom(float)

public void SetDesiredHdrHeadroom(float arg0)

Parameters

arg0 float

float

SetSecure(bool)

public void SetSecure(bool arg0)

Parameters

arg0 bool

bool

SetSurfaceLifecycle(int)

public void SetSurfaceLifecycle(int arg0)

Parameters

arg0 int

int

SetZOrderMediaOverlay(bool)

public void SetZOrderMediaOverlay(bool arg0)

Parameters

arg0 bool

bool

SetZOrderOnTop(bool)

public void SetZOrderOnTop(bool arg0)

Parameters

arg0 bool

bool