语言

VoiceInteractor.PickOptionRequest.Option.Index 属性

定义

返回构造函数中提供的索引。

public int Index { [Android.Runtime.Register("getIndex", "()I", "", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getIndex", "()I", "", ApiSince=23)>]
member this.Index : int

属性值

特性

注解

返回构造函数中提供的索引。 如果该选项在没有索引的情况下构造,则返回 -1。

Android 参考。android.app.VoiceInteractor.PickOptionRequest.Option.getIndex

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于