Share via


AdControl.IsEngaged Property

Definition

Gets a value that indicates whether the user is interacting with the banner ad.

public:
 property bool IsEngaged { bool get(); };
bool IsEngaged();
public bool IsEngaged { get; }
var boolean = adControl.isEngaged;
Public ReadOnly Property IsEngaged As Boolean

Property Value

System.Boolean

Returns true if the user is interacting with the banner ad; otherwise, false.

Remarks

When the IsEngagedChanged event is raised, the code in the app should examine the IsEngaged property to determine whether the user is currently interacting with the banner ad instead of the application. The app could be designed so that it will pause while this value is true. When the user stops interacting with the banner ad, this property will be false, and the IsEngagedChanged event will be raised again.

Applies to