Table of Contents

Class RoomRegionsService

Namespace
Coherence.Cloud
Assembly
Coherence.Runtime.dll
public class RoomRegionsService
Inheritance
RoomRegionsService
Extension Methods

Constructors

RoomRegionsService(IRequestFactory, IAuthClient)

public RoomRegionsService(IRequestFactory requestFactory, IAuthClient authClient)

Parameters

requestFactory IRequestFactory
authClient IAuthClient

Properties

Regions

public IReadOnlyList<string> Regions { get; }

Property Value

IReadOnlyList<string>

Methods

FetchRegions(Action<RequestResponse<IReadOnlyList<string>>>)

public void FetchRegions(Action<RequestResponse<IReadOnlyList<string>>> onRequestFinished)

Parameters

onRequestFinished Action<RequestResponse<IReadOnlyList<string>>>

FetchRegionsAsync()

public Task<IReadOnlyList<string>> FetchRegionsAsync()

Returns

Task<IReadOnlyList<string>>

GetFetchRegionsCooldown()

public TimeSpan GetFetchRegionsCooldown()

Returns

TimeSpan