Udostępnij za pośrednictwem


TargetedContentInteraction Enum

Definition

Defines the types of interaction values supported by each TargetedContentItem object in a TargetedContentContainer.

public enum class TargetedContentInteraction
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.TargetedContent.TargetedContentContract, 65536)]
enum class TargetedContentInteraction
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.TargetedContent.TargetedContentContract), 65536)]
public enum TargetedContentInteraction
var value = Windows.Services.TargetedContent.TargetedContentInteraction.impression
Public Enum TargetedContentInteraction
Inheritance
TargetedContentInteraction
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Services.TargetedContent.TargetedContentContract (introduced in v1.0)
App capabilities
secondaryAuthenticationFactor

Fields

Name Value Description
Impression 0

An impression, such as any time a user opens an app or website.

Note

Different apps can have different rules for reporting impressions.

ClickThrough 1

A click-through action, such as when a user clicks on a specific link.

Hover 2

A hover action over the item.

Like 3

A like action.

Dislike 4

A dislike action.

Dismiss 5

A dismiss action.

Ineligible 6

Interaction indicates ineligibility.

Accept 7

An accept action.

Decline 8

A decline action.

Defer 9

A defer action.

Canceled 10

A cancel action.

Conversion 11

A conversion action, such as when a user becomes a paying customer.

Opportunity 12

Interaction indicates an opportunity.

Applies to

See also