Share via


DevicePolicyManager.GetStartUserSessionMessageFormatted(ComponentName) Method

Definition

Returns the user session start message.

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

Parameters

admin
ComponentName

which DeviceAdminReceiver this request is associated with.

Returns

Attributes

Remarks

Returns the user session start message.

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