Documentation

Sets the sync status for a circle to be ‘Background’. Delayed file sync and slower real time message delivery.

Arguments

The Circle ID that you want to apply this setting to.

Returns

Whether it was successful or not.

API Definition

public async Task<BackgroundReply> Background(BackgroundRequest request)

C# Structures

public class BackgroundRequest

{

  public string CircleId;

}

public class BackgroundReply

{

  public ReturnStatus Status;

}

C# Example code:

public void SetBackgroundSync(string circleId)

{

   BackgroundRequest request = new BackgroundRequest() { CircleId = circleId };

   BackgroundReply reply = _circle.Background(request);

   Console.WriteLine(reply.Status.Message);

}