ILocationButtonSession.SetIconTint(Color) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the tint color of the icon within the location button.
[Android.Runtime.Register("setIconTint", "(I)V", "GetSetIconTint_IHandler:Android.App.PermissionUI.ILocationButtonSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)]
public void SetIconTint(Android.Graphics.Color color);
[<Android.Runtime.Register("setIconTint", "(I)V", "GetSetIconTint_IHandler:Android.App.PermissionUI.ILocationButtonSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)>]
abstract member SetIconTint : Android.Graphics.Color -> unit
Parameters
- color
- Color
The desired icon tint color, as a ColorInt.
- Attributes
Remarks
Sets the tint color of the icon within the location button.
See LocationButtonRequest.Builder.setIconTint(int) for input constraints.
Android reference for android.app.permissionui.LocationButtonSession.setIconTint.
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.