Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.rootsoft.socialauth;
- import org.brickred.socialauth.*;
- import anywheresoftware.b4a.BA.ShortName;
- @ShortName("SocialContact")
- public class SocialContact {
- private Contact contact;
- /**
- * Gets or sets the contact object.
- * @param c
- */
- public void setContact(Contact c) {
- contact = c;
- }
- /**
- * Gets or sets the contact object.
- * @return
- */
- public Contact getContact() {
- return contact;
- }
- /**
- * Gets the display name.
- * @return
- */
- public String getDisplayName() {
- return contact.getDisplayName();
- }
- public void setDisplayName(String displayName) {
- this.contact.setDisplayName(displayName);
- }
- /**
- * Gets the email.
- * @return
- */
- public String getEmail() {
- return contact.getEmail();
- }
- /**
- * Gets the email hash.
- * @return
- */
- public String getEmailHash() {
- return contact.getEmailHash();
- }
- /**
- * Gets the first name.
- * @return
- */
- public String getFirstName() {
- return contact.getFirstName();
- }
- /**
- * Gets the id.
- * @return
- */
- public String getId() {
- return contact.getId();
- }
- /**
- * Gets the last name.
- * @return
- */
- public String getLastName() {
- return contact.getLastName();
- }
- /**
- * Gets all emails addresses.
- * @return
- */
- public String[] getOtherEmails() {
- return contact.getOtherEmails();
- }
- /**
- * Gets the profile url.
- * @return
- */
- public String getProfileUrl() {
- return contact.getProfileUrl();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement