Partager via


ContactsContract.StatusUpdates.GetPresencePrecedence(StatusPresence) Method

Definition

Returns the precedence of the status code the higher number being the higher precedence.

[Android.Runtime.Register("getPresencePrecedence", "(I)I", "")]
public static int GetPresencePrecedence (Android.Provider.StatusPresence status);
[<Android.Runtime.Register("getPresencePrecedence", "(I)I", "")>]
static member GetPresencePrecedence : Android.Provider.StatusPresence -> int

Parameters

status
StatusPresence

The status code.

Returns

An integer representing the precedence, 0 being the lowest.

Attributes

Remarks

Returns the precedence of the status code the higher number being the higher precedence.

Java documentation for android.provider.ContactsContract.StatusUpdates.getPresencePrecedence(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to