Search in sources :

Example 1 with DatabasePersistence

use of com.microsoft.azure.mobile.persistence.DatabasePersistence in project mobile-center-sdk-android by Microsoft.

the class DefaultChannel method buildDefaultPersistence.

/**
     * Init Persistence for default constructor.
     */
private static Persistence buildDefaultPersistence(@NonNull LogSerializer logSerializer) {
    Persistence persistence = new DatabasePersistence();
    persistence.setLogSerializer(logSerializer);
    return persistence;
}
Also used : Persistence(com.microsoft.azure.mobile.persistence.Persistence) DatabasePersistence(com.microsoft.azure.mobile.persistence.DatabasePersistence) DatabasePersistence(com.microsoft.azure.mobile.persistence.DatabasePersistence)

Aggregations

DatabasePersistence (com.microsoft.azure.mobile.persistence.DatabasePersistence)1 Persistence (com.microsoft.azure.mobile.persistence.Persistence)1