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 enum
Enum represents different contexts for the Illuminate session. -
Method Summary
Modifier and TypeMethodDescriptionwithAccessKey
(String accessKey) Sets the Mobile API key for the Illuminate session.static IlluminateSessionParams
withAccountId
(String accountId) Creates a newIlluminateSessionParams
instance 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 newIlluminateSessionParams
instance with the given account ID.- Parameters:
accountId
- the Illuminate account ID.- Returns:
- a new
IlluminateSessionParams
instance.
-
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
IlluminateSessionParams
instance.
-
withAccessKey
Sets the Mobile API key for the Illuminate session.- Parameters:
accessKey
- the Mobile API key.- Returns:
- the current
IlluminateSessionParams
instance.
-
withSuppressedIlluminateCalls
Suppresses Illuminate calls for the session.- Returns:
- the current
IlluminateSessionParams
instance.
-
withContext
@NonNull public IlluminateSessionParams withContext(@NonNull IlluminateSessionParams.IlluminateContext context) Sets the context for the Illuminate session.- Parameters:
context
-- Returns:
- the current
IlluminateSessionParams
instance.
-