Search in sources :

Example 1 with DatabasePersistence

use of com.microsoft.appcenter.persistence.DatabasePersistence in project AppCenter-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.appcenter.persistence.Persistence) DatabasePersistence(com.microsoft.appcenter.persistence.DatabasePersistence) DatabasePersistence(com.microsoft.appcenter.persistence.DatabasePersistence)

Example 2 with DatabasePersistence

use of com.microsoft.appcenter.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.appcenter.persistence.Persistence) DatabasePersistence(com.microsoft.appcenter.persistence.DatabasePersistence) DatabasePersistence(com.microsoft.appcenter.persistence.DatabasePersistence)

Aggregations

DatabasePersistence (com.microsoft.appcenter.persistence.DatabasePersistence)2 Persistence (com.microsoft.appcenter.persistence.Persistence)2