Class AerialView.AerialViewBase
Base class for server-side implementations of AerialView
Namespace: Google.Maps.AerialView.V1
Assembly: Google.Maps.AerialView.V1.dll
Syntax
[BindServiceMethod(typeof(AerialView), "BindService")]
public abstract class AerialView.AerialViewBase
Methods
LookupVideo(LookupVideoRequest, ServerCallContext)
Fetches a video given its address or videoId. The response will either be a video with a set of playback URIs for ACTIVE videos, a PROCESSING state for pending videos, or a 404 error if the video does not exist. Receiving a video is a billable event, so callers of this method should be ready to use the returned URIs at the time of request.
Declaration
public virtual Task<Video> LookupVideo(LookupVideoRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
LookupVideoRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<Video> | The response to send back to the client (wrapped by a task). |
RenderVideo(RenderVideoRequest, ServerCallContext)
Adds an address to the renderer's queue if a video hasn't already been rendered. Otherwise, returns metadata about the video.
Declaration
public virtual Task<RenderVideoResponse> RenderVideo(RenderVideoRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
RenderVideoRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<RenderVideoResponse> | The response to send back to the client (wrapped by a task). |