using System;
using System.Threading;
using System.Threading.Tasks;
namespace LeanCloud.Storage.Internal {
public interface IInstallationIdController {
///
/// Sets current installationId
and saves it to local storage.
///
/// The installationId
to be saved.
Task SetAsync(Guid? installationId);
///
/// Gets current installationId
from local storage. Generates a none exists.
///
/// Current installationId
.
Task GetAsync();
///
/// Clears current installationId from memory and local storage.
///
Task ClearAsync();
}
}