DngCreator.SetLocation(Location) 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.
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.