Export (0) Print
Expand All

IsEngaged Property - Windows 8.0

Microsoft Advertising Services

Updated: August 2, 2013

Published: June 4, 2013

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

Syntax

C#

public bool IsEngaged { get; }

JavaScript

var adisengaged = adControl.isEngaged;

Property Value

Language

Property

Type

Return Type

C#

IsEngaged

bool

bool

JavaScript

isEngaged

boolean

boolean

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.

Support and Feedback

Get product support or report a bug in the advertising SDK by visiting the Windows 8 Dev Center support page (scroll down to the section "Microsoft Advertising support").

Send feedback about this documentation to adsfdbk@microsoft.com. There is no product support through this alias. Documentation feedback only.

Community Additions

ADD
Show:
© 2014 Microsoft