Class PhotoMedia
A photo media from Places API.
Implements
Namespace: Google.Maps.Places.V1
Assembly: Google.Maps.Places.V1.dll
Syntax
public sealed class PhotoMedia : IMessage<PhotoMedia>, IEquatable<PhotoMedia>, IDeepCloneable<PhotoMedia>, IBufferMessage, IMessage
Constructors
PhotoMedia()
Declaration
public PhotoMedia()
PhotoMedia(PhotoMedia)
Declaration
public PhotoMedia(PhotoMedia other)
Parameters
| Type | Name | Description |
|---|---|---|
| PhotoMedia | other |
Properties
Name
The resource name of a photo media in the format:
places/{place_id}/photos/{photo_reference}/media.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PhotoMediaName
PhotoMediaName-typed view over the Name resource name property.
Declaration
public PhotoMediaName PhotoMediaName { get; set; }
Property Value
| Type | Description |
|---|---|
| PhotoMediaName |
PhotoUri
A short-lived uri that can be used to render the photo.
Declaration
public string PhotoUri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |