PidfDocument.MapToPresenceAvailability(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Maps an aggregation score to an availability state.
public:
static Microsoft::Rtc::Collaboration::Presence::PresenceAvailability MapToPresenceAvailability(int number);
public static Microsoft.Rtc.Collaboration.Presence.PresenceAvailability MapToPresenceAvailability (int number);
static member MapToPresenceAvailability : int -> Microsoft.Rtc.Collaboration.Presence.PresenceAvailability
Public Shared Function MapToPresenceAvailability (number As Integer) As PresenceAvailability
Parameters
- number
- Int32
The aggregation value.
Returns
The number mapped to a presence availability state.
Remarks
If number is less than 3000, this method returns 0 (PresenceAvailability.None).