java.lang.Object
com.arubanetworks.meridian.locationsharing.Friend
All Implemented Interfaces:
Serializable

public class Friend extends Object implements Serializable
See Also:
  • Constructor Details

    • Friend

      public Friend()
  • Method Details

    • fromJSON

      public static Friend fromJSON(JSONObject json) throws JSONException
      Throws:
      JSONException
    • isInSameMapAndSharing

      public boolean isInSameMapAndSharing(EditorKey mapKey)
    • isSharing

      public boolean isSharing()
    • fromJSONList

      public static List<Friend> fromJSONList(JSONArray jsonArray) throws JSONException
      Throws:
      JSONException
    • getInitials

      public String getInitials()
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • setFullName

      public void setFullName(String fullName)
    • getFullName

      public String getFullName()
    • getLocation

      public Location getLocation()
    • setLocation

      public void setLocation(Location location)
    • getPhotoUrl

      public String getPhotoUrl()
    • setPhotoUrl

      public void setPhotoUrl(String photoUrl)
    • setSharing

      public void setSharing(boolean sharing)
    • getInitialsBitmap

      public Bitmap getInitialsBitmap(int width, int height, int fontSize, int color)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object