Java.Lang.Runtime.Load Method
Loads the shared library found at the given absolute path.

Syntax

[Android.Runtime.Register("load", "(Ljava/lang/String;)V", "GetLoad_Ljava_lang_String_Handler")]
public virtual void Load (string pathName)

Parameters

absolutePath
the absolute (platform dependent) path to the library to load.

Exceptions

TypeReason
Java.Lang.UnsatisfiedLinkErrorif the library can not be loaded, either because it's not found or because there is something wrong with it.

Remarks

Loads the shared library found at the given absolute path. This should be of the form /path/to/library/libMyLibrary.so. Most callers should use Runtime.LoadLibrary(string) instead, and let the system find the correct file to load.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1