Class AerialViewVideoResponse
- Namespace
- GoogleMapsApi.Entities.AerialView.Response
- Assembly
- GoogleMapsApi.dll
An Aerial View video (Video). Returned by both RenderVideo and LookupVideo.
public sealed class AerialViewVideoResponse : IResponseFor<RenderVideoRequest>, IResponseFor<LookupVideoRequest>
- Inheritance
-
AerialViewVideoResponse
- Implements
- Inherited Members
Remarks
While State is Processing, Uris is absent and Metadata typically carries only the video id. Once Active, Uris is populated with signed, short-lived links for each available MediaFormat.
Properties
Metadata
Metadata about the video (id, capture date, duration).
[JsonPropertyName("metadata")]
public VideoMetadata? Metadata { get; set; }
Property Value
State
Current rendering state of the video.
[JsonPropertyName("state")]
public VideoState State { get; set; }
Property Value
Uris
Signed, short-lived URIs keyed by media format (e.g. "MP4_HIGH", "HLS"). Only
present when State is Active. The keys are
MediaFormat wire values; this is left string-keyed so unknown future formats
deserialize without throwing. Prefer TryGetUris(MediaFormat, out AerialViewUris?) for typed access.
[JsonPropertyName("uris")]
public Dictionary<string, AerialViewUris>? Uris { get; set; }
Property Value
Methods
TryGetUris(MediaFormat, out AerialViewUris?)
Looks up the AerialViewUris for a known MediaFormat.
public bool TryGetUris(MediaFormat format, out AerialViewUris? uris)
Parameters
formatMediaFormatThe media format to retrieve.
urisAerialViewUrisThe matching URIs, or
nullif the format is not present.
Returns
- bool
trueif the format was present; otherwisefalse.