语言

LocationButtonRequest.TextType 属性

定义

返回按钮上显示的文本类型。

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

属性值

值为下列值之一:LocationButtonSession.TEXT_TYPE_NONE;LocationButtonSession.TEXT_TYPE_PRECISE_LOCATION;LocationButtonSession.TEXT_TYPE_USE_PRECISE_LOCATION;LocationButtonSession.TEXT_TYPE_SHARE_PRECISE_LOCATION;LocationButtonSession.TEXT_TYPE_NEAR_MY_PRECISE_LOCATION;LocationButtonSession.TEXT_TYPE_NEAR_YOUR_PRECISE_LOCATION

属性

注解

返回按钮上显示的文本类型。

Android 参考。android.app.permissionui.LocationButtonRequest.getTextType

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于