Skip to content

SessionReplayPrivacy

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

enum SessionReplayPrivacy : Enum<SessionReplayPrivacy>

Defines the Session Replay privacy policy when recording the sessions.

See also

SessionReplayPrivacy.ALLOW
SessionReplayPrivacy.MASK
SessionReplayPrivacy.MASK_USER_INPUT

Entries

ALLOW

ALLOW

Does not apply any privacy rule on the recorded data with an exception for strong privacy sensitive EditTextViews. The EditTextViews which have email, password, postal address or phone number inputType will be masked no matter what the privacy option with space-preserving "x" mask (each char individually)

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

MASK

MASK

Masks all the elements. All the characters in texts will be replaced by X, images will be replaced with just a placeholder and switch buttons, check boxes and radio buttons will also be masked. This is the default privacy rule.

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

MASK_USER_INPUT

MASK_USER_INPUT

Masks most form fields such as inputs, checkboxes, radio buttons, switchers, sliders, etc. while recording all other text as is. Inputs are replaced with three asterisks (***).

Properties

Name Summary
name [androidJvm]
val name: String
ordinal [androidJvm]
val ordinal: Int

Functions

valueOf

fun valueOf(value: String): SessionReplayPrivacy

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
IllegalArgumentException if this enum type has no constant with the specified name

values

fun values(): Array<SessionReplayPrivacy>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

Clone this wiki locally