SuggestionPackage Struct

Definition

[System.Runtime.CompilerServices.Nullable(0)]
public struct SuggestionPackage
[<System.Runtime.CompilerServices.Nullable(0)>]
type SuggestionPackage = struct
Public Structure SuggestionPackage
Inheritance
SuggestionPackage
Attributes

Constructors

Name Description
SuggestionPackage(List<PredictiveSuggestion>)

Initializes a new instance of the SuggestionPackage struct without providing a session id. Note that, when a session id is not specified, it's considered by a client that the predictor doesn't expect feedback.

SuggestionPackage(UInt32, List<PredictiveSuggestion>)

Initializes a new instance of the SuggestionPackage struct with the mini-session id and the suggestions.

Properties

Name Description
Session

Gets the mini-session that represents a specific invocation to GetSuggestion(PredictionClient, PredictionContext, CancellationToken). When it's not specified, it's considered by a client that the predictor doesn't expect feedback.

SuggestionEntries

Gets the suggestion entries returned from that mini-session.

Applies to