IsEngaged Property
Gets a value that indicates whether the user is interacting with an ad.
Namespace: Microsoft.Advertising.WinRT.UI (in Microsoft.Advertising.WinRT.UI.winmd)
JavaScript Library: ad.js
| C# |
|---|
|
public bool IsEngaged { get; } |
| JavaScript |
|---|
|
var adisengaged = adControl.isEngaged; |
| Language | Property | Type | Return Type |
|---|---|---|---|
|
C# |
|
|
|
|
JavaScript |
|
|
|
When the EngagedChanged event is raised, the code in the app should examine this property to determine whether the user is currently interacting with the ad instead of the application.
When the user begins interacting with an ad, this property will be true, and the EngagedChanged event will be raised. The application could be designed so that it will pause while this value is true. When the user stops interacting with the ad, this property will be false, and the EngagedChanged event will be raised again.
The default value is false.
Report a bug in the product. Send email to psupport@microsoft.com.
Send feedback about this documentation to adsfdbk@microsoft.com.
Revised: 2013-01-31