ContactsContract.CommonDataKinds.Im.GetProtocolLabelFormatted Method

Definition

Return a ICharSequence that best describes the given protocol, possibly substituting the given CustomProtocol value for Custom.

[Android.Runtime.Register("getProtocolLabel", "(Landroid/content/res/Resources;ILjava/lang/CharSequence;)Ljava/lang/CharSequence;", "")]
public static Java.Lang.ICharSequence? GetProtocolLabelFormatted (Android.Content.Res.Resources? res, Android.Provider.IMProtocolDataKind type, Java.Lang.ICharSequence? label);
[<Android.Runtime.Register("getProtocolLabel", "(Landroid/content/res/Resources;ILjava/lang/CharSequence;)Ljava/lang/CharSequence;", "")>]
static member GetProtocolLabelFormatted : Android.Content.Res.Resources * Android.Provider.IMProtocolDataKind * Java.Lang.ICharSequence -> Java.Lang.ICharSequence

Parameters

res
Resources

Returns

Attributes

Remarks

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