Kongsi melalui


IRealtimeClient Interface

Definition

Represents a real-time client.

public interface class IRealtimeClient : IDisposable
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public interface IRealtimeClient : IDisposable
public interface IRealtimeClient : IDisposable
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type IRealtimeClient = interface
    interface IDisposable
type IRealtimeClient = interface
    interface IDisposable
Public Interface IRealtimeClient
Implements IDisposable
Derived
Attributes
Implements

Remarks

This interface provides methods to create and manage real-time sessions.

Methods

Name Description
CreateSessionAsync(RealtimeSessionOptions, CancellationToken)

Creates a new real-time session with the specified options.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from IDisposable)
GetService(Type, Object)

Asks the IRealtimeClient for an object of the specified type serviceType.

Extension Methods

Name Description
AsBuilder(IRealtimeClient)

Creates a new RealtimeClientBuilder using innerClient as its inner client.

GetRequiredService(IRealtimeClient, Type, Object)

Asks the IRealtimeClient for an object of the specified type serviceType and throws an exception if one isn't available.

GetRequiredService<TService>(IRealtimeClient, Object)

Asks the IRealtimeClient for an object of type TService and throws an exception if one isn't available.

GetService<TService>(IRealtimeClient, Object)

Asks the IRealtimeClient for an object of type TService.

Applies to