Class CallCollectionExtensions
Extensions for call collections.
Inheritance
System.Object
CallCollectionExtensions
Namespace: Microsoft.Graph.Calls
Assembly: Microsoft.Graph.Calls.dll
Syntax
public static class CallCollectionExtensions : object
Methods
View SourceAddAsync(ICallCollection, Call, IMediaSession, Boolean, CancellationToken)
Join the call with a media session.
Declaration
public static Task<ICall> AddAsync(this ICallCollection callCollection, Call resource, IMediaSession mediaSession, bool removeFromDefaultRoutingGroup = false, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
ICallCollection | callCollection | The call collection. |
Call | resource | The resource. |
IMediaSession | mediaSession | The media session. |
System.Boolean | removeFromDefaultRoutingGroup | Whether to remove from default routing group. |
CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
Task<ICall> | The stateful call object once the call is added. |
AddAsync(ICallCollection, JoinMeetingParameters, CancellationToken)
Join a new meeting with the provided parameters
Declaration
public static Task<ICall> AddAsync(this ICallCollection callCollection, JoinMeetingParameters parameters, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
ICallCollection | callCollection | The call collection. |
JoinMeetingParameters | parameters | The parameters. |
CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
Task<ICall> | The stateful call object once the call is added. |