AdGameComponent Members [UAC_API_REF]
Published: June 4, 2013
The AdGameComponent class inherits from the DrawableGameComponent class. The following members are unique to the AdGameComponent class or extend the functionality of the DrawableGameComponent class.
Public Members
Methods
|
Name |
Description |
|---|---|
|
Creates a new instance of a DrawableAd object by using the provided parameters (overloaded). |
|
|
Draws graphical elements of the ad inside the DisplayRectangle. Inherited from DrawableGameComponent.Draw(). |
|
|
Creates an AdGameComponent object that will manage the DrawableAd objects in your game (overloaded). |
|
|
Removes a specific instance of a DrawableAd object from the AdGameComponent. |
|
|
Removes all instances of DrawableAd objects from the AdGameComponent. |
|
|
Advances the state of all DrawableAd objects contained by the AdGameComponent. Inherited from GameComponent.Update(). |
Properties
|
Name |
Description |
|---|---|
|
Gets the application identifier. |
|
|
Gets or sets the two-letter country or region code to use for ad targeting. |
|
|
Gets a reference to this AdGameComponent object. |
|
|
Gets a value that indicates whether the user is interacting with an ad. |
|
|
Gets a value that indicates whether the user’s input was consumed by a DrawableAd object. |
|
|
Gets a value that indicates whether the AdGameComponent has been created by a prior call to Initialize. |
|
|
Gets or sets the postal code to use for ad targeting. |
Events
|
Name |
Description |
|---|---|
|
Raised when the AdGameComponent.Engaged property changes. |
|
|
Raised when the InputConsumed property changes. |
Report a bug in the product. Send email to psupport@microsoft.com. Send feedback about this documentation to adsfdbk@microsoft.com. Copyright © by Microsoft Corporation. All rights reserved.