FocusSessionManager.IsFocusActive 属性

定义

获取一个值,该值指示焦点会话是否在设备上处于活动状态。

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

属性值

Boolean

bool

如果焦点会话处于活动状态,则为 True;否则为 false。

适用于