Udostępnij za pośrednictwem


DevicePolicyManager.GetPendingSystemUpdate(ComponentName) Method

Definition

Called by device or profile owners to get information about a pending system update.

[Android.Runtime.Register("getPendingSystemUpdate", "(Landroid/content/ComponentName;)Landroid/app/admin/SystemUpdateInfo;", "GetGetPendingSystemUpdate_Landroid_content_ComponentName_Handler", ApiSince=26)]
public virtual Android.App.Admin.SystemUpdateInfo? GetPendingSystemUpdate (Android.Content.ComponentName admin);
[<Android.Runtime.Register("getPendingSystemUpdate", "(Landroid/content/ComponentName;)Landroid/app/admin/SystemUpdateInfo;", "GetGetPendingSystemUpdate_Landroid_content_ComponentName_Handler", ApiSince=26)>]
abstract member GetPendingSystemUpdate : Android.Content.ComponentName -> Android.App.Admin.SystemUpdateInfo
override this.GetPendingSystemUpdate : Android.Content.ComponentName -> Android.App.Admin.SystemUpdateInfo

Parameters

admin
ComponentName

Which profile or device owner this request is associated with.

Returns

Information about a pending system update or null if no update pending.

Attributes

Remarks

Called by device or profile owners to get information about a pending system update.

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