Language

ILocationButtonSession.SetStrokeColor(Color) Method

Definition

Sets the color of location button stroke/outline.

[Android.Runtime.Register("setStrokeColor", "(I)V", "GetSetStrokeColor_IHandler:Android.App.PermissionUI.ILocationButtonSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)]
public void SetStrokeColor(Android.Graphics.Color color);
[<Android.Runtime.Register("setStrokeColor", "(I)V", "GetSetStrokeColor_IHandler:Android.App.PermissionUI.ILocationButtonSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)>]
abstract member SetStrokeColor : Android.Graphics.Color -> unit

Parameters

color
Color

The desired outline color, as a ColorInt.

Attributes

Remarks

Sets the color of location button stroke/outline.

See LocationButtonRequest.Builder.setStrokeColor(int) for input constraints.

Android reference for android.app.permissionui.LocationButtonSession.setStrokeColor.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to