Language

PathClassLoader.FindLibrary(String) Method

Definition

Finds a native library in the application and system library search paths.

[Android.Runtime.Register("findLibrary", "(Ljava/lang/String;)Ljava/lang/String;", "GetFindLibrary_Ljava_lang_String_Handler")]
public override string? FindLibrary(string? libname);
[<Android.Runtime.Register("findLibrary", "(Ljava/lang/String;)Ljava/lang/String;", "GetFindLibrary_Ljava_lang_String_Handler")>]
override this.FindLibrary : string -> string

Parameters

libname
String

The library name without the platform-specific prefix or extension.

Returns

The path of the library, or null if the library is not found. The path can be relative. On Android 6.0 (API level 23) and later, it can identify an uncompressed entry in an archive.

Attributes

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