Sets the sync status for a circle to be ‘Background’. Delayed file sync and slower real time message delivery.
The Circle ID that you want to apply this setting to.
Whether it was successful or not.
public async Task<BackgroundReply> Background(BackgroundRequest request)
public class BackgroundRequest
{
public string CircleId;
}
public class BackgroundReply
{
public ReturnStatus Status;
}
public void SetBackgroundSync(string circleId)
{
BackgroundRequest request = new BackgroundRequest() { CircleId = circleId };
BackgroundReply reply = _circle.Background(request);
Console.WriteLine(reply.Status.Message);
}