Android Open Source - meeting-app Details Result






From Project

Back to project page meeting-app.

License

The source code is released under:

Apache License

If you think the Android project meeting-app listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*
 * Copyright 2014 Google Inc.//  w w  w .  j av a 2s  .co m
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.example.placedetails;

import java.util.List;

/**
 * This class represents a result returned from a Place Details call. A Place Details response
 * consists of numerous fields and a list of these results, each of which represents a particular
 * Place.
 */
public class DetailsResult {
  public List<AddressType> address_components;
  public String formatted_address;
  public String formatted_phone_number;
  public Geometry geometry;
  public String icon;
  public String id;
  public String international_phone_number;
  public String name;
  public List<Photo> photos;
  public double rating;
  public String reference;
  public List<Review> reviews;
  public List<String> types;
  public String url;
  public int utc_offset;
  public String vicinity;
  public String website;

  @SuppressWarnings("hiding")
  public class AddressType {
    public String long_name;
    public String short_name;
    public List<String> types;
  }
  
  @SuppressWarnings("hiding")
  public class Aspect {
    public int rating;
    public String type;
  }

  public class Geometry {
    public Location location;
  }

  public class Location {
    public float lat;
    public float lng;
  }

  public class Photo {
    public int height;
    public int width;
    public List<String> html_attributions;
    public String photo_reference;
  }
  
  @SuppressWarnings("hiding")
  public class Review {
    public List<Aspect> aspects;
    public String author_name;
    public String author_url;
    public int rating;
    public String text;
    public long time;
  }
}




Java Source Code List

com.example.geocodeservice.GeocodeResponse.java
com.example.geocodeservice.GeocodeResult.java
com.example.geocodeservice.GeocodeServiceTest.java
com.example.geocodeservice.GeocodeService.java
com.example.meetingapp.LocationParcel.java
com.example.meetingapp.MainActivity.java
com.example.meetingapp.MapResultsFragment.java
com.example.meetingapp.ModifyStateCallback.java
com.example.meetingapp.OptionsFragment.java
com.example.meetingapp.PickCategoryFragment.java
com.example.meetingapp.PickLocationFragment.java
com.example.meetingapp.PlacesAutocompleteAdapter.java
com.example.meetingapp.ResultAdapter.java
com.example.meetingapp.ShowDetailsFragment.java
com.example.meetingapp.ShowResultsFragment.java
com.example.meetingapp.State.java
com.example.placedetails.DetailsResponse.java
com.example.placedetails.DetailsResult.java
com.example.placedetails.DetailsService.java
com.example.placephotos.PhotoService.java
com.example.wrappers.DistanceMatrixResponse.java
com.example.wrappers.DistanceMatrixTest.java
com.example.wrappers.DistanceMatrix.java
com.example.wrappers.LatLng.java
com.example.wrappers.PlaceAutocompletePrediction.java
com.example.wrappers.PlaceCriteria.java
com.example.wrappers.PlaceQuery.java
com.example.wrappers.PlaceResult.java
com.example.wrappers.PlaceSearch.java
com.example.wrappers.PlaceWrapperTest.java
com.example.wrappers.PlaceWrapper.java
com.example.wrappers.PlacesAutocompleteResponse.java
com.example.wrappers.PlacesAutocomplete.java
com.example.wrappers.PlacesResponse.java
com.example.wrappers.PlacesServiceTest.java
com.example.wrappers.PlacesService.java
com.example.wrappers.RankBy.java
com.example.wrappers.StaticMapTest.java
com.example.wrappers.StaticMap.java