ImagePrivacy - DataDog/dd-sdk-android GitHub Wiki

enum ImagePrivacy : Enum<ImagePrivacy>

Defines the Session Replay privacy policy when recording images.

See also

ImagePrivacy.MASK_NONE
ImagePrivacy.MASK_LARGE_ONLY
ImagePrivacy.MASK_ALL

Entries

MASK_NONE

MASK_NONE

All images will be recorded, including those downloaded from the Internet during app runtime.

Properties

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

MASK_LARGE_ONLY

MASK_LARGE_ONLY

Mask images that we consider to be content images based on them being larger than 100x100 dp. In the replay such images will be replaced with placeholders with the label: Content Image.

Properties

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

MASK_ALL

MASK_ALL

No images will be recorded. In the replay images will be replaced with placeholders with the label: Image.

Properties

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

Functions

valueOf

fun valueOf(value: String): ImagePrivacy

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<ImagePrivacy>

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.