Share via


DevicePolicyManager.GetEndUserSessionMessageFormatted(ComponentName) Method

Definition

Returns the user session end message.

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

Parameters

admin
ComponentName

which DeviceAdminReceiver this request is associated with.

Returns

Attributes

Remarks

Returns the user session end message.

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