2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
22 /// Place Image information, used in Place Discovery and Search requests
24 /// <since_tizen>3</since_tizen>
25 public class PlaceImage
31 private PlaceLink _userLink;
32 private PlaceMedia _media;
34 internal PlaceImage(Interop.PlaceImageHandle handle)
38 _width = handle.Width;
39 _height = handle.Height;
40 _userLink = new PlaceLink(handle.User);
41 _media = new PlaceMedia(handle.Media);
45 /// Gets an ID for this place image.
47 /// <since_tizen>3</since_tizen>
48 public string Id { get { return _id; } }
51 /// Gets an URL for this place image.
53 /// <since_tizen>3</since_tizen>
54 public string Url { get { return _url; } }
57 /// Gets width for this place image.
59 /// <since_tizen>3</since_tizen>
60 public int Width { get { return _width; } }
63 /// Gets height for this place image.
65 /// <since_tizen>3</since_tizen>
66 public int Height { get { return _height; } }
69 /// Gets an object which representing user link for this place image.
71 /// <since_tizen>3</since_tizen>
72 public PlaceLink UserLink { get { return _userLink; } }
75 /// Gets an object which representing image media for this place image.
77 /// <since_tizen>3</since_tizen>
78 public PlaceMedia ImageMedia { get { return _media; } }