SdkSandboxController.LoadSdk Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads SDK in an SDK sandbox java process.
[Android.Runtime.Register("loadSdk", "(Ljava/lang/String;Landroid/os/Bundle;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetLoadSdk_Ljava_lang_String_Landroid_os_Bundle_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=35)]
public virtual void LoadSdk (string sdkName, Android.OS.Bundle params, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver receiver);
[<Android.Runtime.Register("loadSdk", "(Ljava/lang/String;Landroid/os/Bundle;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetLoadSdk_Ljava_lang_String_Landroid_os_Bundle_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=35)>]
abstract member LoadSdk : string * Android.OS.Bundle * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
override this.LoadSdk : string * Android.OS.Bundle * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
Parameters
- sdkName
- String
name of the SDK to be loaded.
- params
- Bundle
additional parameters to be passed to the SDK in the form of a Bundle
as agreed between the client and the SDK.
- executor
- IExecutor
the Executor
on which to invoke the receiver.
- receiver
- IOutcomeReceiver
This either receives a SandboxedSdk
on a successful run, or LoadSdkException
.
- Attributes
Remarks
Loads SDK in an SDK sandbox java process.
Loads SDK library with sdkName
to an SDK sandbox process asynchronously. The caller will be notified through the receiver
.
The caller may only load SDKs
the client app depends on into the SDK sandbox.
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.