Export (0) Print
Expand All

InputConsumedChanged Event

Updated: August 2, 2013

Published: April 2, 2014

Raised when the AdGameComponent.InputConsumed property changes.

Namespace: Microsoft.Advertising.Mobile.Xna

Assembly: Microsoft.Advertising.Mobile.Xna (in Microsoft.Advertising.Mobile.Xna.dll)

public event EventHandler InputConsumedChanged

Subscribe to this event in your game loop. When it is raised and the value of the InputConsumed property is true, the game should ignore user inputs directed at the game, rather than the ad.

When this event is raised and the value of the InputConsumed property is false, your game should resume processing user input.

In either case, you should clear any gesture inputs that are not yet processed.

Platforms

Windows Phone 7.x only

Support and Feedback

Get product support or report a bug in the product by visiting the Windows Phone 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