checkConnectionOnVisible

View as MarkdownOpen in Claude
1get checkConnectionOnVisible(): boolean
2set checkConnectionOnVisible(value: boolean)

Whether to check peer connection health when the page becomes visible.

Parameters

value
booleanRequired

If true, checks connectivity when the tab or window becomes visible again.

Examples

1// Read
2console.log(client.preferences.checkConnectionOnVisible);
3
4// Write
5client.preferences.checkConnectionOnVisible = true;