Package com.facebook.soloader.recovery
Class DefaultRecoveryStrategyFactory
java.lang.Object
com.facebook.soloader.recovery.DefaultRecoveryStrategyFactory
- All Implemented Interfaces:
RecoveryStrategyFactory
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultRecoveryStrategyFactory(android.content.Context context, int recoveryFlags) -
Method Summary
-
Constructor Details
-
DefaultRecoveryStrategyFactory
public DefaultRecoveryStrategyFactory(android.content.Context context, int recoveryFlags)
-
-
Method Details
-
get
- Specified by:
getin interfaceRecoveryStrategyFactory- Returns:
- an instance of RecoveryStrategy that will be used to recover from failures to load a native library. The recover method of the returned object might be called multiple times until false is returned or until a successfull retry of the load is performed. All calls are guaranteed to hapen sequentially, within the context of a single library load. This contract allows the returned strategy object to try more invasive and expensive recovery mechanisms as long as cheaper options are not effective.
-