/** * The Preferences class is a representation of the SDK user’s preferred settings. */ declare class Preferences { /** * Sets a unique project key. */ setProjectKey(projectKey: string): Promise; /** * Sets video capturing framerate. * Must be between `2` and `10` frames per second. */ setFrameRate(frameRate: number): Promise; /** * The video capturing framerate. * @return a Promise resolving to a number */ getFrameRate(): Promise; /** * Sets whether or not Android's Jobs are used for uploading. * * @kind **Android only** */ setJobUploadEnabled(isEnabled: boolean): Promise; /** * Sets whether or not the SDK should use the adaptive framerate feature to capture video. */ setAdaptiveFrameRateEnabled(isEnabled: boolean): Promise; /** * A boolean that determines whether the SDK should use adaptive framerate functionality for video capture. * * @returns a Promise resolving to a boolean */ getAdaptiveFrameRateEnabled(): Promise; /** * Sets whether or not a WebView class should be considered sensitive. * True by default in the SDK. */ setWebViewSensitivity(isSensitive: boolean): Promise; /** * Enables the tracking of all events. */ eventTrackingEnableAll(): Promise; /** * Disables the tracking of all events. */ eventTrackingDisableAll(): Promise; /** * Enables the tracking of all navigation events. * * @kind **Android only** */ eventTrackingNavigationEnableAll(): Promise; /** * Disables the tracking of all navigation events. * * @kind **Android only** */ eventTrackingNavigationDisableAll(): Promise; /** * Sets whether or not an Activity enter and exit events are automatically tracked. * * @kind **Android only** */ setEventTrackingNavigationActivityStatus(isEnabled: boolean): Promise; /** * Sets whether or not a Fragment enter and exit events are automatically tracked. * * @kind **Android only** */ setEventTrackingNavigationFragmentStatus(isEnabled: boolean): Promise; /** * Enables the tracking of all user's interaction events. * * @kind **Android only** */ setEventTrackingInteractionEnableAll(): Promise; /** * Disables the tracking of all user's interaction events. * * @kind **Android only** */ setEventTrackingInteractionDisableAll(): Promise; setEventTrackingInteractionUserStatus(isEnabled: boolean): Promise; /** * Sets whether or not "rage" clicks are automatically tracked. */ setEventTrackingInteractionRageClickStatus(isEnabled: boolean): Promise; /** * Sets a proxy host name for data transfer. * * @kind **Android only** */ setRelayProxyHost(relayProxyHost: string): Promise; /** * Sets tracking properties to default values. */ restoreDefault(): Promise; } export default Preferences; //# sourceMappingURL=Preferences.d.ts.map