PackageManager.GetInstantAppCookie 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.
Gets the instant application cookie for this app.
[Android.Runtime.Register("getInstantAppCookie", "()[B", "GetGetInstantAppCookieHandler", ApiSince=26)]
public abstract byte[] GetInstantAppCookie ();
[<Android.Runtime.Register("getInstantAppCookie", "()[B", "GetGetInstantAppCookieHandler", ApiSince=26)>]
abstract member GetInstantAppCookie : unit -> byte[]
Returns
The cookie.
- Attributes
Remarks
Gets the instant application cookie for this app. Non instant apps and apps that were instant but were upgraded to normal apps can still access this API. For instant apps this cookie is cached for some time after uninstall while for normal apps the cookie is deleted after the app is uninstalled. The cookie is always present while the app is installed.
Java documentation for android.content.pm.PackageManager.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.