public static abstract class**CronetEngine.Builder.LibraryLoader** extends Object  
A class which provides a method for loading the cronet native library. Apps needing to implement custom library loading logic can inherit from this class and pass an instance to[CronetEngine.Builder.setLibraryLoader(CronetEngine.Builder.LibraryLoader)](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/CronetEngine.Builder.html#setLibraryLoader(org.chromium.net.CronetEngine.Builder.LibraryLoader)). For example, this might be required to work around`UnsatisfiedLinkError`s caused by flaky installation on certain older devices.  

### Public Constructor Summary

|---|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|
|   | [LibraryLoader](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/CronetEngine.Builder.LibraryLoader.html#LibraryLoader())() |

### Public Method Summary

|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| abstract void | [loadLibrary](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/CronetEngine.Builder.LibraryLoader.html#loadLibrary(java.lang.String))(String libName) Loads the native library. |

### Inherited Method Summary

From class java.lang.Object  

|------------------|---------------------------|
| Object           | clone()                   |
| boolean          | equals(Object arg0)       |
| void             | finalize()                |
| final Class\<?\> | getClass()                |
| int              | hashCode()                |
| final void       | notify()                  |
| final void       | notifyAll()               |
| String           | toString()                |
| final void       | wait(long arg0, int arg1) |
| final void       | wait(long arg0)           |
| final void       | wait()                    |

## Public Constructors

#### public**LibraryLoader**()

<br />

## Public Methods

#### public abstract void**loadLibrary**(String libName)

Loads the native library.  

##### Parameters

| libName | name of the library to load |
|---------|-----------------------------|