public class VaultDatabaseExporter
extends java.lang.Object
| Constructor and Description |
|---|
VaultDatabaseExporter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
export(android.content.Context context,
java.lang.Class<?> spaceClass,
java.lang.String accessToken)
Use this method to export Contentful spaces into sqlite3 databases which can be imported later.
|
public boolean export(android.content.Context context,
java.lang.Class<?> spaceClass,
java.lang.String accessToken)
context - Android (Robolectric?) Context for creating the sqlite database.spaceClass - Configured Space containing the name and the id of the space.accessToken - a CDA access token, used for retrieving the resources.Copyright © 2018 Contentful, GmbH.. All Rights Reserved.