Share via


DevicePolicyManager.GetLongSupportMessageFormatted(ComponentName) Method

Definition

Called by a device admin to get the long support message.

[Android.Runtime.Register("getLongSupportMessage", "(Landroid/content/ComponentName;)Ljava/lang/CharSequence;", "GetGetLongSupportMessage_Landroid_content_ComponentName_Handler", ApiSince=24)]
public virtual Java.Lang.ICharSequence? GetLongSupportMessageFormatted (Android.Content.ComponentName admin);
[<Android.Runtime.Register("getLongSupportMessage", "(Landroid/content/ComponentName;)Ljava/lang/CharSequence;", "GetGetLongSupportMessage_Landroid_content_ComponentName_Handler", ApiSince=24)>]
abstract member GetLongSupportMessageFormatted : Android.Content.ComponentName -> Java.Lang.ICharSequence
override this.GetLongSupportMessageFormatted : Android.Content.ComponentName -> Java.Lang.ICharSequence

Parameters

admin
ComponentName

Which DeviceAdminReceiver this request is associated with.

Returns

The message set by #setLongSupportMessage(ComponentName, CharSequence) or null if no message has been set.

Attributes

Remarks

Called by a device admin to get the long support message.

Java documentation for android.app.admin.DevicePolicyManager.getLongSupportMessage(android.content.ComponentName).

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