Partilhar via


PresenceState.PhoneInACall Method

Returns the phone state as on-the-phone.

Namespace:  Microsoft.Rtc.Collaboration.Presence
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Shared Function PhoneInACall ( _
    phoneUri As String _
) As PresenceState
'Usage
Dim phoneUri As String
Dim returnValue As PresenceState

returnValue = PresenceState.PhoneInACall(phoneUri)
public static PresenceState PhoneInACall(
    string phoneUri
)

Parameters

  • phoneUri
    Type: System.String
    The tel URI for the presence state.

Return Value

Type: Microsoft.Rtc.Collaboration.Presence.PresenceState

Remarks

Availability is 6500 and activity is "on-the-phone". Application could use this state to set phoneState for an outgoing VoIP call.

See Also

Reference

PresenceState Class

PresenceState Members

Microsoft.Rtc.Collaboration.Presence Namespace