-
public class AppstockContextHolderGlobal Context holder for Appstock SDK.
-
-
Method Summary
Modifier and Type Method Description static ContextgetContext()static voidsetContext(Context context)static voidclearContext()It clears Context reference and thereby SDK will skip any fetch demand calls.Must be called only if initialization is failed. -
-
Method Detail
-
getContext
@Nullable() static Context getContext()
-
setContext
@VisibleForTesting() static void setContext(Context context)
-
clearContext
@VisibleForTesting() static void clearContext()
It clears Context reference and thereby SDK will skip any fetch demand calls.Must be called only if initialization is failed.
-
-
-
-