Language

IncludeLocationDataType Enum

Definition

Specifies the location detail requested in telephony callbacks.

public enum IncludeLocationDataType
type IncludeLocationDataType = 
Inheritance
IncludeLocationDataType

Fields

Name Value Description
None 0

Specifies to not include any location related data. Indicates whether the caller would not like to receive location related information which will be sent if the caller already possess Manifest.permission.ACCESS_COARSE_LOCATION and do not renounce the permissions.

Android reference for android.telephony.TelephonyManager.INCLUDE_LOCATION_DATA_NONE.

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.

Coarse 1

Include coarse location data. Indicates whether the caller would not like to receive location related information which will be sent if the caller already possess Manifest.permission.ACCESS_COARSE_LOCATION and do not renounce the permissions.

Android reference for android.telephony.TelephonyManager.INCLUDE_LOCATION_DATA_COARSE.

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.

Fine 2

Include fine location data. Indicates whether the caller would not like to receive location related information which will be sent if the caller already possess Manifest.permission.ACCESS_FINE_LOCATION and do not renounce the permissions.

Android reference for android.telephony.TelephonyManager.INCLUDE_LOCATION_DATA_FINE.

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.

Remarks

Requesting coarse or fine detail does not grant the location permissions required to receive it.

Applies to