DngCreator.SetLocation(Location) Method

Definition

Set image location metadata.

[Android.Runtime.Register("setLocation", "(Landroid/location/Location;)Landroid/hardware/camera2/DngCreator;", "")]
public Android.Hardware.Camera2.DngCreator SetLocation (Android.Locations.Location location);
[<Android.Runtime.Register("setLocation", "(Landroid/location/Location;)Landroid/hardware/camera2/DngCreator;", "")>]
member this.SetLocation : Android.Locations.Location -> Android.Hardware.Camera2.DngCreator

Parameters

location
Location

an android.location.Location object to set.

Returns

this #DngCreator object.

Attributes

Exceptions

if the given location object doesn't contain enough information to set location metadata.

Remarks

Set image location metadata.

The given location object must contain at least a valid time, latitude, and longitude (equivalent to the values returned by android.location.Location#getTime(), android.location.Location#getLatitude(), and android.location.Location#getLongitude() methods).

Java documentation for android.hardware.camera2.DngCreator.setLocation(android.location.Location).

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