Android.App.PermissionUI Namespace

Provides types for requesting and managing system-rendered location buttons.

Classes

Name Description
LocationButtonProviderFactory

A factory for creating LocationButtonProvider instances.

LocationButtonRequest

Defines the requested visual properties for a location button.

LocationButtonRequest.Builder

Builder for LocationButtonRequest.

LocationButtonRequest.InterfaceConsts

Provides constants from the interfaces implemented by LocationButtonRequest.

LocationButtonSession

Provides the legacy class representation of the location button session constants.

Interfaces

Name Description
ILocationButtonClient

A callback interface for receiving events about the location button.

ILocationButtonProvider

The primary entry point for the Location Button API.

ILocationButtonSession

This interface defines location button session, and allows apps to change/customize the appearance of the button.

Enums

Name Description
LocationButtonSessionTextType

Specifies the text choice for a location button.

Remarks

Create a provider with LocationButtonProviderFactory and use LocationButtonRequest to describe the button appearance. ILocationButtonClient receives session events and permission results, and ILocationButtonSession provides access to the button surface and session operations.