Class Luciq.Builder
-
- All Implemented Interfaces:
public class Luciq.Builder
-
-
Constructor Summary
Constructors Constructor Description Luciq.Builder(Application application, String applicationToken)Initialize Luciq SDK with application token Luciq.Builder(Application application, String applicationToken, Array<LuciqInvocationEvent> luciqInvocationEvent)Initialize Luciq SDK with application token
-
Method Summary
Modifier and Type Method Description Luciq.BuildersetInvocationEvents(@NonNull() Array<LuciqInvocationEvent> luciqInvocationEvents)Set the invocation events that the SDK should be invoked on Luciq.BuildersetSdkDebugLogsLevel(int level)Sets the printed logs priority filter to one of the following levels: - NONE disables all SDK console logs. Luciq.BuildersetLuciqLogState(@NonNull() Feature.State state)Enable/disable Luciq log to be added to reports. Luciq.BuildersetAutoMaskScreenshotsTypes(Array<int> types)an API to auto-mask screenshots. Luciq.BuildersetOverAirVersion(@Nullable() String overAirVersion, int overAirVersionType)Sets over Air version to be used for all reports. Luciq.BuilderignoreFlagSecure(boolean shouldBeIgnored)Indicates whether FLAG_SECURE should be ignored or not while capturing screenshots. Luciq.BuildersetCodePushVersion(@Nullable() String codePushVersion)Sets Code Push version to be used for all reports. voidbuild()State can be changed dynamically using Luciq.enable&Luciq.disable after building.voidbuild(Feature.State luciqInitialState)Luciq.BuildersetTheme(@Nullable() LuciqTheme theme)Sets a LuciqTheme used to customize Luciq's ui elements Luciq.BuildersetTrackingUserStepsState(@NonNull() Feature.State state)Enable/disable automatic user steps tracking Luciq.BuildersetReproConfigurations(ReproConfigurations configurations)Sets a ReproConfigurations controlling repro steps with each type of report Luciq.BuildersetConsoleLogState(@NonNull() Feature.State state)Enable/disable console log to be added to reports. Luciq.BuildersetUserDataState(@NonNull() Feature.State state)Enable/disable user data to be added to reports. Luciq.BuildersetInAppMessagingState(@NonNull() Feature.State state)Enable/Disable in-app messaging Luciq.BuildersetViewHierarchyState(@NonNull() Feature.State state)Enable/Disable view hierarchy Luciq.BuildersetUserEventsState(@NonNull() Feature.State state)Enable/disable user events. Luciq.BuildersetAppVariant(@Nullable() String appVariant)Sets App Variant to be used for all reports. -
-
Constructor Detail
-
Luciq.Builder
Luciq.Builder(Application application, String applicationToken)
Initialize Luciq SDK with application token- Parameters:
application- Application object for initialization of libraryapplicationToken- Luciq application token, can be obtained from your dashboard
-
Luciq.Builder
Luciq.Builder(Application application, String applicationToken, Array<LuciqInvocationEvent> luciqInvocationEvent)
Initialize Luciq SDK with application token- Parameters:
application- Application object for initialization of libraryapplicationToken- Luciq application token, can be obtained from your dashboardluciqInvocationEvent- The event Luciq should listen to, to invoke the feedback process
-
-
Method Detail
-
setInvocationEvents
Luciq.Builder setInvocationEvents(@NonNull() Array<LuciqInvocationEvent> luciqInvocationEvents)
Set the invocation events that the SDK should be invoked on
- Parameters:
luciqInvocationEvents- the invocation events- Since:
8.0.0
-
setSdkDebugLogsLevel
Luciq.Builder setSdkDebugLogsLevel(int level)
Sets the printed logs priority filter to one of the following levels:
- NONE disables all SDK console logs. - ERROR prints errors and warnings, we use this level to let you know if something goes wrong. This is also enabled by default - DEBUG use this in case you are debugging an issue. Not recommended for production use. - VERBOSE use this only if DEBUG was not enough and you need more visibility on what is going on under the hood. Similar to the DEBUG level, this is not meant to be used on production environments.
More information can be found .html>here
- Parameters:
level- the priority level.
-
setLuciqLogState
Luciq.Builder setLuciqLogState(@NonNull() Feature.State state)
Enable/disable Luciq log to be added to reports.
- Parameters:
state- desired state of Luciq log LuciqFeature.- Since:
2.0
-
setAutoMaskScreenshotsTypes
Luciq.Builder setAutoMaskScreenshotsTypes(Array<int> types)
an API to auto-mask screenshots.
- Parameters:
types- are the masking types on screenshots by default masking type is MASK_NOTHING
-
setOverAirVersion
Luciq.Builder setOverAirVersion(@Nullable() String overAirVersion, int overAirVersionType)
Sets over Air version to be used for all reports. Note: Should only be set for React Native apps
- Parameters:
overAirVersion- the on Air version to be usedoverAirVersionType- to Determine whatever the type is Expo or code push
-
ignoreFlagSecure
Luciq.Builder ignoreFlagSecure(boolean shouldBeIgnored)
Indicates whether FLAG_SECURE should be ignored or not while capturing screenshots. Default: Disabled
- Parameters:
shouldBeIgnored- whether FLAG_SECURE should be ignored.
-
setCodePushVersion
@Deprecated() Luciq.Builder setCodePushVersion(@Nullable() String codePushVersion)
Sets Code Push version to be used for all reports. Note: Should only be set for React Native apps
- Parameters:
codePushVersion- the Code Push version to work with.
-
build
@Nullable() void build(Feature.State luciqInitialState)
-
setTheme
Luciq.Builder setTheme(@Nullable() LuciqTheme theme)
Sets a LuciqTheme used to customize Luciq's ui elements
- Parameters:
theme- the theme to be set and used by Luciq.
-
setTrackingUserStepsState
Luciq.Builder setTrackingUserStepsState(@NonNull() Feature.State state)
Enable/disable automatic user steps tracking
- Parameters:
state- desired state of automatic user step tracking feature- Since:
2.0
-
setReproConfigurations
Luciq.Builder setReproConfigurations(ReproConfigurations configurations)
Sets a ReproConfigurations controlling repro steps with each type of report
- Parameters:
configurations- the configurations object to be set and used by Luciq.
-
setConsoleLogState
Luciq.Builder setConsoleLogState(@NonNull() Feature.State state)
Enable/disable console log to be added to reports.
- Parameters:
state- desired state of console log LuciqFeature.- Since:
2.0
-
setUserDataState
Luciq.Builder setUserDataState(@NonNull() Feature.State state)
Enable/disable user data to be added to reports.
- Parameters:
state- desired state of user data LuciqFeature.- Since:
2.0
-
setInAppMessagingState
Luciq.Builder setInAppMessagingState(@NonNull() Feature.State state)
Enable/Disable in-app messaging
- Parameters:
state- desired state of in-app messaging feature- Since:
2.0
-
setViewHierarchyState
Luciq.Builder setViewHierarchyState(@NonNull() Feature.State state)
Enable/Disable view hierarchy
- Parameters:
state- desired state of view hierarchy feature- Since:
2.0
-
setUserEventsState
Luciq.Builder setUserEventsState(@NonNull() Feature.State state)
Enable/disable user events.
- Parameters:
state- desired state of surveys LuciqFeature.- Since:
4.0
-
setAppVariant
Luciq.Builder setAppVariant(@Nullable() String appVariant)
Sets App Variant to be used for all reports. Should send with all requests headers
- Parameters:
appVariant- the app variant version to work with.
-
-
-
-