Language

MockPackageManager.GetInstantAppCookie Method

Definition

Throws UnsupportedOperationException. Override this method to get an instant application cookie in a test.

[Android.Runtime.Register("getInstantAppCookie", "()[B", "GetGetInstantAppCookieHandler", ApiSince=26)]
public override byte[]? GetInstantAppCookie();
[<Android.Runtime.Register("getInstantAppCookie", "()[B", "GetGetInstantAppCookieHandler", ApiSince=26)>]
override this.GetInstantAppCookie : unit -> byte[]

Returns

Byte[]

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.getInstantAppCookie().

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