照片资源类型
命名空间:microsoft.graph
重要
Microsoft Graph版本下的 /beta API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
照片 资源提供 driveItem 中的照片和相机属性,例如 EXIF 元数据。
备注
目前,OneDrive for Business和SharePoint上仅提供 takenDateTime。
属性
| 属性 | 类型 | Description |
|---|---|---|
| cameraMake | String | 相机制造商。只读。 |
| cameraModel | String | 相机型号。只读。 |
| exposureDenominator | Double | 相机的曝光时间分数的分母。只读。 |
| exposureNumerator | Double | 相机的曝光时间分数的分子。只读。 |
| fNumber | Double | 相机的 F-stop 值。只读。 |
| focalLength | Double | 相机的焦距。只读。 |
| iso | Int32 | 相机的 ISO 值。只读。 |
| orientation | Int16 | 相机的方向值。 可在OneDrive个人版上写入。 |
| takenDateTime | DateTimeOffset | 照片在 UTC 时间拍摄的日期和时间。 只读。 |
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"cameraMake": "String",
"cameraModel": "String",
"exposureDenominator": 1000.0,
"exposureNumerator": 1.0,
"fNumber": 1.8,
"focalLength": 22.5,
"iso": 100,
"orientation": 3,
"takenDateTime": "String (timestamp)"
}
反馈
提交和查看相关反馈