Table of Contents

RefreshRegions

Methods
public void RefreshRegions(Action<RequestResponse<IReadOnlyList<string>>> callback, CancellationToken cancellationToken = default)

Get all the available regions for Rooms. You can enable or disable regions in your coherence Dashboard, in the Rooms section.

Parameters
Type Name Description
Action<RequestResponse<IReadOnlyList<string>>> callback

Callback that will be called when regions have been fetched, it includes the list of regions.

CancellationToken cancellationToken

(Optional) Cancellation token to cancel the request.