Stay organized with collections
Save and categorize content based on your preferences.
Google.Play.Instant.GooglePlayInstantUtils
Methods and constants that are specific to GooglePlayInstant and/or the plugin.
Summary
Public static functions
|
IsInstantApp()
|
bool
Return true if this is an instant app build, false if an installed app build.
|
Public static functions
IsInstantApp
bool IsInstantApp()
Return true if this is an instant app build, false if an installed app build.
This is an alternative to checking "#if PLAY_INSTANT" directly. Note: Do not call this in an Editor script. Prefer PlayBuildConfiguration.IsInstantBuildType() instead.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-03-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-03-18 UTC."],[],[],null,["# Google.Play.Instant.GooglePlayInstantUtils Class Reference\n\nGoogle.Play.Instant.GooglePlayInstantUtils\n==========================================\n\nMethods and constants that are specific to [Google](/reference/unity/namespace/Google#namespaceGoogle)[Play](/reference/unity/namespace/Google/Play#namespaceGoogle_1_1Play)[Instant](/reference/unity/namespace/Google/Play/Instant#namespaceGoogle_1_1Play_1_1Instant) and/or the plugin.\n\nSummary\n-------\n\n| ### Public static functions ||\n|------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|\n| [IsInstantApp](#classGoogle_1_1Play_1_1Instant_1_1GooglePlayInstantUtils_1ad9210e6a490e4a8eae1fc07911596df7)`()` | `bool` Return true if this is an instant app build, false if an installed app build. |\n\nPublic static functions\n-----------------------\n\n### IsInstantApp\n\n```c#\nbool IsInstantApp()\n``` \nReturn true if this is an instant app build, false if an installed app build.\n\nThis is an alternative to checking \"#if PLAY_INSTANT\" directly. Note: Do not call this in an [Editor](/reference/unity/namespace/Google/Play/Instant/Editor#namespaceGoogle_1_1Play_1_1Instant_1_1Editor) script. Prefer PlayBuildConfiguration.IsInstantBuildType() instead."]]