public class

ArcGISRuntime

extends Object
java.lang.Object
   ↳ com.esri.android.runtime.ArcGISRuntime

Class Overview

This class contains methods to set ArcGIS Runtime deployment licenses and check an application is licensed.

Summary

Nested Classes
class ArcGISRuntime.License Runtime core licensing functionality. 
Public Constructors
ArcGISRuntime()
Public Methods
static LicenseResult setClientId(String clientId)
License an application for Basic functionality.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ArcGISRuntime ()

Public Methods

public static LicenseResult setClientId (String clientId)

License an application for Basic functionality. This will remove the watermark present in Developer mode and must be called in a deployed application. This method must be called before setting a Standard level license by calling either setLicense(LicenseInfo) or setLicense(String).

Note: If any Standard licensed functionality is accessed before calling either of these methods, an exception will be thrown when this method is called and the application will remain in Developer mode. If any Standard licensed functionality is called after calling this method, but without a Standard license having been set, an exception will also be thrown.

Parameters
clientId String: client ID to set
Returns
LicenseResult LicenseResult.Invalid or LicenseResult.Valid