Package com.digimarc.dms
Class SdkSession
java.lang.Object
com.digimarc.dms.SdkSession
A session object is required to use reader and resolver objects within the SDK. When an SdkSession
object is created it loads the license key stored in the application's manifest.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SdkSession.Builder
Builder()
Get a SdkSession.Builder object for creating a session.boolean
int
hashCode()
-
Method Details
-
equals
-
hashCode
public int hashCode() -
Builder
Get a SdkSession.Builder object for creating a session. By default the license key will be loaded from the application's manifest. To add your license key to the manifest, create an entry similar to the following inside the<application>
section.<meta-data android:name="com.digimarc.LicenseKey" android:value="license-key-goes-here">
The
android:value=""
entry can either contain your key string itself or it can contain an Android path to a string resource (i.e. "@string/license_key").- Returns:
- A new SdkSession.Builder
-