Sprache

LocationButtonRequest.Builder.SetTextType(Int32) Methode

Definition

Legt den Texttyp der Schaltfläche fest.

[Android.Runtime.Register("setTextType", "(I)Landroid/app/permissionui/LocationButtonRequest$Builder;", "", ApiSince=37)]
public Android.App.PermissionUI.LocationButtonRequest.Builder SetTextType(int textType);
[<Android.Runtime.Register("setTextType", "(I)Landroid/app/permissionui/LocationButtonRequest$Builder;", "", ApiSince=37)>]
member this.SetTextType : int -> Android.App.PermissionUI.LocationButtonRequest.Builder

Parameter

textType
Int32

Der Wert ist eine der folgenden: 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

Gibt zurück

Attribute

Hinweise

Legt den Texttyp der Schaltfläche fest.

Nicht unterstützte Texttypen werden als LocationButtonSession.TEXT_TYPE_NONE behandelt. Wenn sie nicht explizit festgelegt ist, wird standardmäßig LocationButtonSession.TEXT_TYPE_NONE.

Android-Referenz für android.app.permissionui.LocationButtonRequest.Builder.setTextType.

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: