Language

DevicePolicyManager.GetShortSupportMessageFormatted(ComponentName) メソッド

定義

短いサポート メッセージを取得するために、デバイス管理者またはアクセス許可 android.Manifest.permission#MANAGE_DEVICE_POLICY_SUPPORT_MESSAGE の所有者によって呼び出されます。

[Android.Runtime.Register("getShortSupportMessage", "(Landroid/content/ComponentName;)Ljava/lang/CharSequence;", "GetGetShortSupportMessage_Landroid_content_ComponentName_Handler", ApiSince=24)]
[Android.Runtime.RequiresPermission("android.permission.MANAGE_DEVICE_POLICY_SUPPORT_MESSAGE")]
public virtual Java.Lang.ICharSequence? GetShortSupportMessageFormatted(Android.Content.ComponentName? admin);
[<Android.Runtime.Register("getShortSupportMessage", "(Landroid/content/ComponentName;)Ljava/lang/CharSequence;", "GetGetShortSupportMessage_Landroid_content_ComponentName_Handler", ApiSince=24)>]
[<Android.Runtime.RequiresPermission("android.permission.MANAGE_DEVICE_POLICY_SUPPORT_MESSAGE")>]
abstract member GetShortSupportMessageFormatted : Android.Content.ComponentName -> Java.Lang.ICharSequence
override this.GetShortSupportMessageFormatted : Android.Content.ComponentName -> Java.Lang.ICharSequence

パラメーター

admin
ComponentName

この要求が関連付けられている DeviceAdminReceiver 。 呼び出し元がデバイス管理者でない場合は Null。

返品

#setShortSupportMessage(ComponentName, CharSequence)によって設定されたメッセージ。メッセージが設定されていない場合は null。

属性

注釈

短いサポート メッセージを取得するために、デバイス管理者またはアクセス許可 android.Manifest.permission#MANAGE_DEVICE_POLICY_SUPPORT_MESSAGE の所有者によって呼び出されます。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象