PidfDocument.MapToPresenceAvailability Method
NOTE: This API is now obsolete.
Maps an aggregation score to an availability state.
Namespace: Microsoft.Rtc.Collaboration.Presence
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
<ObsoleteAttribute("This class will be removed from future versions.")> _
Public Shared Function MapToPresenceAvailability ( _
number As Integer _
) As PresenceAvailability
'Usage
Dim number As Integer
Dim returnValue As PresenceAvailability
returnValue = PidfDocument.MapToPresenceAvailability(number)
[ObsoleteAttribute("This class will be removed from future versions.")]
public static PresenceAvailability MapToPresenceAvailability(
int number
)
Parameters
- number
Type: System.Int32
The aggregation value.
Return Value
Type: Microsoft.Rtc.Collaboration.Presence.PresenceAvailability
The number mapped to a presence availability state.
Remarks
If number is less than 3000, this method returns 0 (PresenceAvailability.None).