Package com.digimarc.dms.session
Class SessionParameters
java.lang.Object
com.digimarc.dms.session.SessionParameters
Encapsulate parameters that are used for SdkSession construction
-
Method Summary
Modifier and TypeMethodDescriptionwithLicenseKey
(String key) Sets the license key.withSecureWatermarksEnabled
(IlluminateSessionParams illuminateConfiguration) Sets the flag in parameters to true for digital watermarks that require certificates.
-
Method Details
-
withLicenseKey
Sets the license key. This is an alternate method for specifying a license key. Use of the manifest for the key is strongly recommended.- Parameters:
key
- License key- Returns:
- Builder object
-
withSecureWatermarksEnabled
@NonNull public SessionParameters withSecureWatermarksEnabled(IlluminateSessionParams illuminateConfiguration) Sets the flag in parameters to true for digital watermarks that require certificates. SdkSession will be initialized with support for those watermarks. To receive status updates for digital watermarks that require certificates, first set up the observer for the SdkSessionSdkSession.addSecureWatermarkReadinessObserver(SecureWatermarkReadinessObserver)
- Returns:
- Build object
-