语言

Camera.Parameters.SetGpsTimestamp(Int64) 方法

定义

注意

deprecated

设置 GPS 时间戳。

[Android.Runtime.Register("setGpsTimestamp", "(J)V", "GetSetGpsTimestamp_JHandler")]
[System.Obsolete("deprecated")]
public virtual void SetGpsTimestamp(long timestamp);
[<Android.Runtime.Register("setGpsTimestamp", "(J)V", "GetSetGpsTimestamp_JHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetGpsTimestamp : int64 -> unit
override this.SetGpsTimestamp : int64 -> unit

参数

timestamp
Int64

GPS 时间戳(UTC 为自 1970 年 1 月 1 日以来的秒)。

特性

注解

设置 GPS 时间戳。 这将存储在 JPEG EXIF 标头中。

Java文档android.hardware.Camera.Parameters.setGpsTimestamp(long)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于