Share via


FocusSessionManager.IsFocusActive Property

Definition

Gets a value indicating if a focus session is active on the device.

public:
 property bool IsFocusActive { bool get(); };
bool IsFocusActive();
public bool IsFocusActive { get; }
var boolean = focusSessionManager.isFocusActive;
Public ReadOnly Property IsFocusActive As Boolean

Property Value

Boolean

bool

True if a focus session is active; otherwise, false.

Applies to