MockPackageManager.UpdateInstantAppCookie(Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Throws UnsupportedOperationException. Override this method to update an instant application cookie in a test.
[Android.Runtime.Register("updateInstantAppCookie", "([B)V", "GetUpdateInstantAppCookie_arrayBHandler", ApiSince=26)]
public override void UpdateInstantAppCookie(byte[]? cookie);
[<Android.Runtime.Register("updateInstantAppCookie", "([B)V", "GetUpdateInstantAppCookie_arrayBHandler", ApiSince=26)>]
override this.UpdateInstantAppCookie : byte[] -> unit
Parameters
- cookie
- Byte[]
The byte array for the instant application cookie. Available to a test override; the default mock implementation does not use this argument.
- Attributes
Remarks
Java documentation for android.test.mock.MockPackageManager.updateInstantAppCookie(byte[]).
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.