Language

JniRuntime.JniMarshalMemberBuilder Class

Definition

Caution

JniMarshalMemberBuilder is no longer supported. This class will be removed in a future release.

Retains the obsolete marshal-member-builder API and its extension hooks.

[System.Obsolete("JniMarshalMemberBuilder is no longer supported. This class will be removed in a future release.")]
public abstract class JniRuntime.JniMarshalMemberBuilder : IDisposable
[<System.Obsolete("JniMarshalMemberBuilder is no longer supported. This class will be removed in a future release.")>]
type JniRuntime.JniMarshalMemberBuilder = class
    interface IDisposable
    interface JniRuntime.ISetRuntime
Inheritance
JniRuntime.JniMarshalMemberBuilder
Attributes
Implements

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

Name Description
JniRuntime.JniMarshalMemberBuilder()

Initializes the legacy builder base class.

Properties

Name Description
Runtime

Gets the runtime assigned to the legacy builder.

Methods

Name Description
CreateConstructActivationPeerExpression(ConstructorInfo)

Declares the legacy hook for building a managed peer activation expression.

CreateConstructActivationPeerFunc(ConstructorInfo)

Always throws NotSupportedException because marshal member building is unsupported.

CreateMarshalToManagedDelegate(Delegate)

Always throws NotSupportedException because marshal member building is unsupported.

CreateMarshalToManagedExpression(MethodInfo)

Declares the legacy hook for building a managed callback expression.

Dispose()

Calls the legacy disposal hook with disposing set to false.

Dispose(Boolean)

Marks the builder as disposed.

GetExportedMemberRegistrations(Type)

Declares the legacy hook for obtaining exported native method registrations.

GetJniMethodSignature(MethodBase)

Always throws NotSupportedException because marshal member building is unsupported.

GetParameterMarshaler(ParameterInfo)

Always throws NotSupportedException because marshal member building is unsupported.

IsDirectMethod(ParameterInfo[])

Tests whether the first two parameter types are both IntPtr.

OnSetRuntime(JniRuntime)

Associates the legacy builder with a runtime, rejecting an already disposed builder.

Applies to