Package com.digimarc.dms.session
Class IlluminateSessionParams
java.lang.Object
com.digimarc.dms.session.IlluminateSessionParams
Class represents the parameters required for an Illuminate session.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnum represents different contexts for the Illuminate session. -
Method Summary
Modifier and TypeMethodDescriptionwithAccessKey(String accessKey) Sets the Mobile API key for the Illuminate session.static IlluminateSessionParamswithAccountId(String accountId) Creates a newIlluminateSessionParamsinstance with the given account ID.Sets the context for the Illuminate session.withFields(List<String> fields) Sets the fields for the Illuminate session.Suppresses Illuminate calls for the session.
-
Method Details
-
withAccountId
Creates a newIlluminateSessionParamsinstance with the given account ID.- Parameters:
accountId- the Illuminate account ID.- Returns:
- a new
IlluminateSessionParamsinstance.
-
withFields
Sets the fields for the Illuminate session. See the Illuminate Mobile API documentation for a list of available fields.- Parameters:
fields- the list of fields.- Returns:
- the current
IlluminateSessionParamsinstance.
-
withAccessKey
Sets the Mobile API key for the Illuminate session.- Parameters:
accessKey- the Mobile API key.- Returns:
- the current
IlluminateSessionParamsinstance.
-
withSuppressedIlluminateCalls
Suppresses Illuminate calls for the session.- Returns:
- the current
IlluminateSessionParamsinstance.
-
withContext
@NonNull public IlluminateSessionParams withContext(@NonNull IlluminateSessionParams.IlluminateContext context) Sets the context for the Illuminate session.- Parameters:
context-- Returns:
- the current
IlluminateSessionParamsinstance.
-