The disable() method is determined to pause or resume recording based on the parameter.

Syntax

disable(isDisabled)

Parameters

isDisabled

  1. boolean value that determines whether the recording should be disabled.

Return value

void

Examples

Pause

Smartlook.disable(true)

Resume

Smartlook.disable(false)