001 package com.google.gwt.maps.client.streetview; 002 003 /** 004 * Handler for the getPanoramaById callback 005 * <br><br> 006 * See <a href="https://developers.google.com/maps/documentation/javascript/reference#StreetViewService">StreetViewService API Doc</a> 007 */ 008 public interface PanoramaIdHandler { 009 010 /** 011 * Retrieves the data for the given pano id and passes it to the provided callback as a StreetViewPanoramaData object. Pano ids are unique per panorama and stable for the lifetime of a session, but are liable to change between sessions. 012 * @param data 013 * @param status 014 */ 015 public void onCallback(StreetViewPanoramaData data, StreetViewStatus status); 016 017 }