public static abstract class

CronetEngine.Builder.LibraryLoader

extends Object
java.lang.Object
   ↳ org.chromium.net.CronetEngine.Builder.LibraryLoader

Class Overview

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 setLibraryLoader(CronetEngine.Builder.LibraryLoader). For example, this might be required to work around UnsatisfiedLinkErrors caused by flaky installation on certain older devices.

Summary

Public Constructors
CronetEngine.Builder.LibraryLoader()
Public Methods
abstract void loadLibrary(String libName)
Loads the native library.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CronetEngine.Builder.LibraryLoader ()

Public Methods

public abstract void loadLibrary (String libName)

Loads the native library.

Parameters
libName String: name of the library to load