| java.lang.Object | 
    
    
    
        
            |    ↳ | 
         	
        BaseEntity | 
    
    
    
        
            |   | 
        
               ↳ | 
         	
        com.usebutton.sdk.context.Location | 
    
    
Class Overview
Entity representing a coordinate (lat/lng) or address and an optional set of provider specific
 identifiers.
 Can be used for example as parameter to setSubjectLocation(Location).
 
Summary
| Public Constructors | 
	 
    
        | 
            
            
            
            
            
            
         | 
        
        Location(double latitude, double longitude)
        
   | 
	 
    
        | 
            
            
            
            
            
            
         | 
        
        Location(String name, double latitude, double longitude)
        
   | 
	 
    
        | 
            
            
            
            
            
            
         | 
        
        Location(String streetAddress, String city, String state, String country)
        
   | 
	 
    
        | 
            
            
            
            
            
            
         | 
        
        Location(String name)
        
   | 
	 
    
        | 
            
            
            
            
            
            
         | 
        
        Location(Location location)
        
   | 
	 
    
        | 
            
            
            
            
            
            
         | 
        
        Location(JSONObject json)
        
         For internal use only. 
  
   | 
| 
  [Expand]
   Inherited Methods  | 
   
From class
  java.lang.Object
  
   
  
    
    
	 
    
        | 
            
            
            
            
            
            Object
         | 
        
        clone()
        
   |  
	 
    
        | 
            
            
            
            
            
            boolean
         | 
        
        equals(Object arg0)
        
   |  
	 
    
        | 
            
            
            
            
            
            void
         | 
        
        finalize()
        
   |  
	 
    
        | 
            
            
            final
            
            
            Class<?>
         | 
        
        getClass()
        
   |  
	 
    
        | 
            
            
            
            
            
            int
         | 
        
        hashCode()
        
   |  
	 
    
        | 
            
            
            final
            
            
            void
         | 
        
        notify()
        
   |  
	 
    
        | 
            
            
            final
            
            
            void
         | 
        
        notifyAll()
        
   |  
	 
    
        | 
            
            
            
            
            
            String
         | 
        
        toString()
        
   |  
	 
    
        | 
            
            
            final
            
            
            void
         | 
        
        wait(long arg0, int arg1)
        
   |  
	 
    
        | 
            
            
            final
            
            
            void
         | 
        
        wait(long arg0)
        
   |  
	 
    
        | 
            
            
            final
            
            
            void
         | 
        
        wait()
        
   |  
 
   
 
 | 
 
Constants
 
    
      
        public 
        static 
        final 
        String
      
        KEY_LATITUDE
    
      
        
        
  
      
    
      
  
    
        
        Constant Value: 
        
            
                "latitude"
            
        
        
    
     
 
 
    
      
        public 
        static 
        final 
        String
      
        KEY_LONGITUDE
    
      
        
        
  
      
    
      
  
    
        
        Constant Value: 
        
            
                "longitude"
            
        
        
    
     
 
Public Constructors
 
    
      
        public 
         
         
         
         
        
      
      Location
      (double latitude, double longitude)
    
      
    
 
 
    
      
        public 
         
         
         
         
        
      
      Location
      (String name, double latitude, double longitude)
    
      
    
 
 
    
      
        public 
         
         
         
         
        
      
      Location
      (String streetAddress, String city, String state, String country)
    
      
    
 
 
    
      
        public 
         
         
         
         
        
      
      Location
      (String name)
    
      
    
 
 
    
      
        public 
         
         
         
         
        
      
      Location
      (Location location)
    
      
    
 
 
    
      
        public 
         
         
         
         
        
      
      Location
      (JSONObject json)
    
      
    
 
Public Methods
 
    
      
        public 
         
         
         
         
        Location
      
      setAddress
      (String streetAddress)
    
      
    
 
 
    
      
        public 
         
         
         
         
        Location
      
      setCountry
      (String country)
    
      
    
 
 
    
      
        public 
         
         
         
         
        Location
      
      setLocation
      (double latitude, double longitude)
    
      
    
 
Protected Methods
 
    
      
        protected 
         
         
         
         
        String
      
      getType
      ()