Class AerialViewClientImpl
AerialView client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Maps.AerialView.V1
Assembly: Google.Maps.AerialView.V1.dll
Syntax
public sealed class AerialViewClientImpl : AerialViewClient
Remarks
Service definition for the Aerial View API.
Constructors
AerialViewClientImpl(AerialViewClient, AerialViewSettings, ILogger)
Constructs a client wrapper for the AerialView service, with the specified gRPC client and settings.
Declaration
public AerialViewClientImpl(AerialView.AerialViewClient grpcClient, AerialViewSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
AerialView.AerialViewClient | grpcClient | The underlying gRPC client. |
AerialViewSettings | settings | The base AerialViewSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC AerialView client
Declaration
public override AerialView.AerialViewClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
AerialView.AerialViewClient |
Overrides
Methods
LookupVideo(LookupVideoRequest, CallSettings)
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 override Video LookupVideo(LookupVideoRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
LookupVideoRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Video | The RPC response. |
Overrides
LookupVideoAsync(LookupVideoRequest, CallSettings)
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 override Task<Video> LookupVideoAsync(LookupVideoRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
LookupVideoRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Video> | A Task containing the RPC response. |
Overrides
RenderVideo(RenderVideoRequest, CallSettings)
Adds an address to the renderer's queue if a video hasn't already been rendered. Otherwise, returns metadata about the video.
Declaration
public override RenderVideoResponse RenderVideo(RenderVideoRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
RenderVideoRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
RenderVideoResponse | The RPC response. |
Overrides
RenderVideoAsync(RenderVideoRequest, CallSettings)
Adds an address to the renderer's queue if a video hasn't already been rendered. Otherwise, returns metadata about the video.
Declaration
public override Task<RenderVideoResponse> RenderVideoAsync(RenderVideoRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
RenderVideoRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<RenderVideoResponse> | A Task containing the RPC response. |