ContactsContract.CommonDataKinds.Im.GetProtocolLabelFormatted 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.
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
- type
- IMProtocolDataKind
- label
- ICharSequence
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.