Share via


DevicePolicyManager.GetShortSupportMessage(ComponentName) Method

Definition

Called by a device admin or holder of the permission android.Manifest.permission#MANAGE_DEVICE_POLICY_SUPPORT_MESSAGE to get the short support message.

public string? GetShortSupportMessage (Android.Content.ComponentName? admin);
member this.GetShortSupportMessage : Android.Content.ComponentName -> string

Parameters

admin
ComponentName

Which DeviceAdminReceiver this request is associated with. Null if the caller is not a device admin.

Returns

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

Remarks

Called by a device admin or holder of the permission android.Manifest.permission#MANAGE_DEVICE_POLICY_SUPPORT_MESSAGE to get the short support message.

Java documentation for android.app.admin.DevicePolicyManager.getShortSupportMessage(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