ClassLoader.FindLibrary(String) 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.
Returns the absolute path name of a native library.
[Android.Runtime.Register("findLibrary", "(Ljava/lang/String;)Ljava/lang/String;", "GetFindLibrary_Ljava_lang_String_Handler")]
protected virtual string? FindLibrary (string? libname);
[<Android.Runtime.Register("findLibrary", "(Ljava/lang/String;)Ljava/lang/String;", "GetFindLibrary_Ljava_lang_String_Handler")>]
abstract member FindLibrary : string -> string
override this.FindLibrary : string -> string
Parameters
- libname
- String
The library name
Returns
The absolute path of the native library
- Attributes
Remarks
Returns the absolute path name of a native library. The VM invokes this method to locate the native libraries that belong to classes loaded with this class loader. If this method returns null
, the VM searches the library along the path specified as the "java.library.path
" property.
Added in 1.2.
Java documentation for java.lang.ClassLoader.findLibrary(java.lang.String)
.
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.