Class Friend
java.lang.Object
com.arubanetworks.meridian.locationsharing.Friend
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static Friend
fromJSON
(org.json.JSONObject json) fromJSONList
(org.json.JSONArray jsonArray) android.graphics.Bitmap
getInitialsBitmap
(int width, int height, int fontSize, int color) getKey()
int
hashCode()
boolean
isInSameMapAndSharing
(EditorKey mapKey) boolean
void
setFullName
(String fullName) void
void
setLocation
(Location location) void
setPhotoUrl
(String photoUrl) void
setSharing
(boolean sharing)
-
Constructor Details
-
Friend
public Friend()
-
-
Method Details
-
fromJSON
- Throws:
org.json.JSONException
-
isInSameMapAndSharing
-
isSharing
public boolean isSharing() -
fromJSONList
- Throws:
org.json.JSONException
-
getInitials
-
getKey
-
setKey
-
setFullName
-
getFullName
-
getLocation
-
setLocation
-
getPhotoUrl
-
setPhotoUrl
-
setSharing
public void setSharing(boolean sharing) -
getInitialsBitmap
public android.graphics.Bitmap getInitialsBitmap(int width, int height, int fontSize, int color) -
hashCode
public int hashCode() -
equals
-