Język

PromptInsight.Builder.SetCount(Int32) Method

Definition

Sets a known number of prompt choices.

[Android.Runtime.Register("setCount", "(I)Landroid/app/personalcontext/insight/PromptInsight$Builder;", "", ApiSince=37)]
public Android.App.PersonalContext.Insight.PromptInsight.Builder SetCount(int count);
[<Android.Runtime.Register("setCount", "(I)Landroid/app/personalcontext/insight/PromptInsight$Builder;", "", ApiSince=37)>]
member this.SetCount : int -> Android.App.PersonalContext.Insight.PromptInsight.Builder

Parameters

count
Int32

The number of choices. Must be greater than zero.

Returns

This builder, for further configuration.

Attributes

Remarks

The method rejects zero and negative values. Use ClearCount to make the count unspecified.

Applies to