Language

AppFunctionService Constructors

Definition

Overloads

Name Description
AppFunctionService()

Initializes the service and its app-function Binder interface.

AppFunctionService(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

AppFunctionService()

Initializes the service and its app-function Binder interface.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=36)]
public AppFunctionService();
Attributes

Remarks

The framework uses the service's Binder interface to deliver function execution requests to OnExecuteFunction(ExecuteAppFunctionRequest, String, SigningInfo, CancellationSignal, IOutcomeReceiver).

Applies to

AppFunctionService(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected AppFunctionService(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.AppFunctions.AppFunctionService : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.AppFunctions.AppFunctionService

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to