Lenguaje

ILocationButtonSession.SetTextType(Int32) Método

Definición

Establece el texto que se va a mostrar en el botón.

[Android.Runtime.Register("setTextType", "(I)V", "GetSetTextType_IHandler:Android.App.PermissionUI.ILocationButtonSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)]
public void SetTextType(int textType);
[<Android.Runtime.Register("setTextType", "(I)V", "GetSetTextType_IHandler:Android.App.PermissionUI.ILocationButtonSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)>]
abstract member SetTextType : int -> unit

Parámetros

textType
Int32

Tipo de texto del texto del botón.

Atributos

Comentarios

Establece el texto que se va a mostrar en el botón.

Consulte LocationButtonRequest.Builder.setTextType(int) para obtener restricciones de entrada.

Referencia de Android para android.app.permissionui.LocationButtonSession.setTextType.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a