Język

MockPackageManager.GetChangedPackages(Int32) Method

Definition

Throws UnsupportedOperationException. Override this method to get changed packages in a test.

[Android.Runtime.Register("getChangedPackages", "(I)Landroid/content/pm/ChangedPackages;", "GetGetChangedPackages_IHandler", ApiSince=26)]
public override Android.Content.PM.ChangedPackages? GetChangedPackages(int sequenceNumber);
[<Android.Runtime.Register("getChangedPackages", "(I)Landroid/content/pm/ChangedPackages;", "GetGetChangedPackages_IHandler", ApiSince=26)>]
override this.GetChangedPackages : int -> Android.Content.PM.ChangedPackages

Parameters

sequenceNumber
Int32

The sequence number from which to check package changes. Available to a test override; the default mock implementation does not use this argument.

Returns

No value is returned. The default mock implementation throws UnsupportedOperationException; override this method to supply a test result.

Attributes

Remarks

Java documentation for android.test.mock.MockPackageManager.getChangedPackages(int).

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