Share via


PersonalizerClient Class

Definition

The Personalizer service client for single and multi slot Rank, Reward and Event Activation.

public class PersonalizerClient
type PersonalizerClient = class
Public Class PersonalizerClient
Inheritance
PersonalizerClient

Constructors

PersonalizerClient()

Initializes a new instance of Personalizer Client for mocking.

PersonalizerClient(Uri, AzureKeyCredential, PersonalizerClientOptions)

Initializes a new instance of PersonalizerClient.

PersonalizerClient(Uri, AzureKeyCredential)

Initializes a new instance of PersonalizerClient.

PersonalizerClient(Uri, TokenCredential, PersonalizerClientOptions)

Initializes a new instance of PersonalizerClient.

PersonalizerClient(Uri, TokenCredential)

Initializes a new instance of PersonalizerClient.

Methods

Activate(String, CancellationToken)

Report that the specified event was actually used (e.g. by being displayed to the user) and a reward should be expected for it.

ActivateAsync(String, CancellationToken)

Report that the specified event was actually used (e.g. by being displayed to the user) and a reward should be expected for it.

ActivateMultiSlot(String, CancellationToken)

Report that the specified event was actually used or displayed to the user and a rewards should be expected for it.

ActivateMultiSlotAsync(String, CancellationToken)

Report that the specified event was actually used or displayed to the user and a rewards should be expected for it.

Rank(IEnumerable<PersonalizerRankableAction>, IEnumerable<Object>, CancellationToken)

Submit a Personalizer rank request. Receives a context and a list of actions. Returns which of the provided actions should be used by your application, in rewardActionId.

Rank(PersonalizerRankOptions, CancellationToken)

Submit a Personalizer rank request. Receives a context and a list of actions. Returns which of the provided actions should be used by your application, in rewardActionId.

RankAsync(IEnumerable<PersonalizerRankableAction>, IEnumerable<Object>, CancellationToken)

Submit a Personalizer rank request. Receives a context and a list of actions. Returns which of the provided actions should be used by your application, in rewardActionId.

RankAsync(PersonalizerRankOptions, CancellationToken)

Submit a Personalizer rank request. Receives a context and a list of actions. Returns which of the provided actions should be used by your application, in rewardActionId.

RankMultiSlot(IEnumerable<PersonalizerRankableAction>, IEnumerable<PersonalizerSlotOptions>, IList<Object>, CancellationToken)

Submit a Personalizer multi-slot rank request. Receives a context, a list of actions, and a list of slots. Returns which of the provided actions should be used in each slot, in each rewardActionId.

RankMultiSlot(PersonalizerRankMultiSlotOptions, CancellationToken)

Submit a Personalizer multi-slot rank request. Receives a context, a list of actions, and a list of slots. Returns which of the provided actions should be used in each slot, in each rewardActionId.

RankMultiSlotAsync(IEnumerable<PersonalizerRankableAction>, IEnumerable<PersonalizerSlotOptions>, IList<Object>, CancellationToken)

Submit a Personalizer multi-slot rank request. Receives a context, a list of actions, and a list of slots. Returns which of the provided actions should be used in each slot, in each rewardActionId.

RankMultiSlotAsync(PersonalizerRankMultiSlotOptions, CancellationToken)

Submit a Personalizer multi-slot rank request. Receives a context, a list of actions, and a list of slots. Returns which of the provided actions should be used in each slot, in each rewardActionId.

Reward(String, Single, CancellationToken)

Report reward between 0 and 1 that resulted from using the action specified in rewardActionId, for the specified event.

RewardAsync(String, Single, CancellationToken)

Report reward between 0 and 1 that resulted from using the action specified in rewardActionId, for the specified event.

RewardMultiSlot(String, PersonalizerRewardMultiSlotOptions, CancellationToken)

Report reward that resulted from using the action specified in rewardActionId for the slot.

RewardMultiSlot(String, String, Single, CancellationToken)

Report reward that resulted from using the action specified in rewardActionId for the slot.

RewardMultiSlotAsync(String, PersonalizerRewardMultiSlotOptions, CancellationToken)

Report reward that resulted from using the action specified in rewardActionId for the slot.

RewardMultiSlotAsync(String, String, Single, CancellationToken)

Report reward that resulted from using the action specified in rewardActionId for the slot.

Applies to