VolatileCallSite Constructors

Definition

Overloads

VolatileCallSite(MethodHandle)

Creates a call site with a volatile binding to its target.

VolatileCallSite(MethodType)

Creates a call site with a volatile binding to its target.

VolatileCallSite(IntPtr, JniHandleOwnership)

VolatileCallSite(MethodHandle)

Creates a call site with a volatile binding to its target.

C#
[Android.Runtime.Register(".ctor", "(Ljava/lang/invoke/MethodHandle;)V", "", ApiSince=26)]
public VolatileCallSite (Java.Lang.Invoke.MethodHandle? target);

Parameters

target
MethodHandle

the method handle that will be the initial target of the call site

Attributes

Remarks

Creates a call site with a volatile binding to its target. The target is set to the given value.

Java documentation for java.lang.invoke.VolatileCallSite.VolatileCallSite(java.lang.invoke.MethodHandle).

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.

Applies to

.NET for Android .NET for Android API 35 i .NET for Android .NET for Android API 34
Produkt Wersje
.NET for Android .NET for Android API 34, .NET for Android API 35

VolatileCallSite(MethodType)

Creates a call site with a volatile binding to its target.

C#
[Android.Runtime.Register(".ctor", "(Ljava/lang/invoke/MethodType;)V", "", ApiSince=26)]
public VolatileCallSite (Java.Lang.Invoke.MethodType? type);

Parameters

type
MethodType

the method type that this call site will have

Attributes

Remarks

Creates a call site with a volatile binding to its target. The initial target is set to a method handle of the given type which will throw an IllegalStateException if called.

Java documentation for java.lang.invoke.VolatileCallSite.VolatileCallSite(java.lang.invoke.MethodType).

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.

Applies to

.NET for Android .NET for Android API 35 i .NET for Android .NET for Android API 34
Produkt Wersje
.NET for Android .NET for Android API 34, .NET for Android API 35

VolatileCallSite(IntPtr, JniHandleOwnership)

C#
protected VolatileCallSite (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);

Parameters

javaReference
IntPtr

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.

Applies to

.NET for Android .NET for Android API 35 i .NET for Android .NET for Android API 34
Produkt Wersje
.NET for Android .NET for Android API 34, .NET for Android API 35