OfferInInviteResponseEventArgs.ReadyToAnswer Method
Accepts the offer and triggers IOfferAnswer.GetAnswer calls to send the answer. The application can call this method when it is ready with the answer for the offer represented in this event arg.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public MustOverride Sub ReadyToAnswer ( _
signalingHeaders As IEnumerable(Of SignalingHeader) _
)
'Usage
Dim instance As OfferInInviteResponseEventArgs
Dim signalingHeaders As IEnumerable(Of SignalingHeader)
instance.ReadyToAnswer(signalingHeaders)
public abstract void ReadyToAnswer(
IEnumerable<SignalingHeader> signalingHeaders
)
Parameters
- signalingHeaders
Type: System.Collections.Generic.IEnumerable<SignalingHeader>
The signaling headers to use in the acknowledgement. Can be null.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when acknowledgement has already been sent. |
See Also
Reference
OfferInInviteResponseEventArgs Class