Android.Locations.Location.Convert Method
Converts a coordinate to a String representation.

Syntax

[Android.Runtime.Register("convert", "(DI)Ljava/lang/String;", "")]
public static string Convert (double coordinate, [Android.Runtime.GeneratedEnum] Format outputType)

Parameters

coordinate
Documentation for this section has not yet been entered.
outputType
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif coordinate is less than -180.0, greater than 180.0, or is not a number.
Java.Lang.IllegalArgumentExceptionif outputType is not one of FORMAT_DEGREES, FORMAT_MINUTES, or FORMAT_SECONDS.

Remarks

Converts a coordinate to a String representation. The outputType may be one of FORMAT_DEGREES, FORMAT_MINUTES, or FORMAT_SECONDS. The coordinate must be a valid double between -180.0 and 180.0.

[Android Documentation]

Requirements

Namespace: Android.Locations
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1