Initiates an operation to get the initial
offer from the MediaProvider implementation.
Namespace:
Microsoft.Rtc.Collaboration.ComponentModel
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Protected
MustOverride
Function
BeginGetOffer ( _
offerAnswerContext
As
OfferAnswerContext, _
lastLocalOutgoingSdps
As
Collection(
Of
SdpContentDescription), _
userCallback
As
AsyncCallback, _
state
As
Object _
)
As
IAsyncResult
|
Visual C++ |
protected:
virtual
IAsyncResult^
BeginGetOffer(
OfferAnswerContext^
offerAnswerContext,
Collection<
SdpContentDescription^>^
lastLocalOutgoingSdps,
AsyncCallback^
userCallback,
Object^
state
)
abstract
|
JavaScript |
function
beginGetOffer(
offerAnswerContext,
lastLocalOutgoingSdps,
userCallback,
state);
|
Parameters
-
offerAnswerContext
- Type:
Microsoft.Rtc.Collaboration.ComponentModel
.
.
::
.
OfferAnswerContext
The OfferAnswerContext for the corresponding call.
-
lastLocalOutgoingSdps
- Type:
Collection
<
(Of
<
(
SdpContentDescription
>
)
>
)
Last outgoing local SDPs, which can be null if this method is
invoked for an initial offer.
-
userCallback
- Type:
AsyncCallback
The method to be called when the asynchronous operation is
completed.
-
state
- Type:
Object
A user-provided object that distinguishes this particular
asynchronous operation from other asynchronous operations.
Return Value
An IAsyncResult that
references the asynchronous operation.
Remarks
See Also