Snapchat Kit for Unity
  • Introduction
  • Installation Troubleshooting
  • Settings
    • Snapchat Kit Settings
  • Usage
    • Namespace
  • API
    • Is Service Available
    • Initialisation
    • Login & Logout
    • Get Snap Profile Data
    • Share Content
    • Add Extra Content(Stickers & Links)
  • Utility Snippets
    • Download Texture from Url
Powered by GitBook
On this page
  1. API

Is Service Available

First check to be done before using the plugin features

PreviousNamespaceNextInitialisation

Last updated 6 years ago

Check Service Availability

Check if Snapchat Kit features can be usable. As the apps need instagram app on the running platform, its always good to check this before calling any of the other plugin methods.

SnapchatKitManager.IsAvailable();

​

Example

public void IsAvailable()
{	
    bool isAvailable  =  SnapchatKitManager.IsAvailable();​	
    string message  = isAvailable ? "Snapchat Kit is available!" : "Snapchat Kit is not available. Snapchat app may not be installed.";​	
    Debug.Log(message);
}

​