CallMedia.PlayToAll Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
PlayToAll(PlayToAllOptions, CancellationToken) |
Reproduzir áudio para todos os participantes. |
PlayToAll(PlaySource, CancellationToken) |
Jogue para todos os participantes. |
PlayToAll(PlayToAllOptions, CancellationToken)
Reproduzir áudio para todos os participantes.
public virtual Azure.Response<Azure.Communication.CallAutomation.PlayResult> PlayToAll (Azure.Communication.CallAutomation.PlayToAllOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member PlayToAll : Azure.Communication.CallAutomation.PlayToAllOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.PlayResult>
override this.PlayToAll : Azure.Communication.CallAutomation.PlayToAllOptions * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.PlayResult>
Public Overridable Function PlayToAll (options As PlayToAllOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PlayResult)
Parâmetros
- options
- PlayToAllOptions
Um objeto opcional que contém opções e configurações de reprodução.
- cancellationToken
- CancellationToken
Um CancellationToken opcional para cancelar a solicitação.
Retornos
Retorna PlayResult, que pode ser usado para aguardar os eventos relacionados do Play.
Aplica-se a
PlayToAll(PlaySource, CancellationToken)
Jogue para todos os participantes.
public virtual Azure.Response<Azure.Communication.CallAutomation.PlayResult> PlayToAll (Azure.Communication.CallAutomation.PlaySource playSource, System.Threading.CancellationToken cancellationToken = default);
abstract member PlayToAll : Azure.Communication.CallAutomation.PlaySource * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.PlayResult>
override this.PlayToAll : Azure.Communication.CallAutomation.PlaySource * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.CallAutomation.PlayResult>
Public Overridable Function PlayToAll (playSource As PlaySource, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PlayResult)
Parâmetros
- playSource
- PlaySource
- cancellationToken
- CancellationToken
Retornos
Retorna PlayResult, que pode ser usado para aguardar os eventos relacionados do Play.