public class

LineProfile

extends Object
implements Parcelable
java.lang.Object
   ↳ com.linecorp.linesdk.LineProfile

Class Overview

Represents a user's LINE profile in the Social API.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<LineProfile> CREATOR
Public Constructors
LineProfile(String userId, String displayName, Uri pictureUrl, String statusMessage)
Constructs a new LineProfile instance.
Protected Constructors
LineProfile(Parcel in)
Public Methods
String getDisplayName()
Gets the user's display name.
Uri getPictureUrl()
Gets the user's profile image URL.
String getStatusMessage()
Gets the user's status message.
String getUserId()
Gets the user's user ID.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<LineProfile> CREATOR

Public Constructors

public LineProfile (String userId, String displayName, Uri pictureUrl, String statusMessage)

Constructs a new LineProfile instance.

Parameters
userId User's user ID.
displayName User's display name.
pictureUrl User's profile image URL.
statusMessage User's status message.

Protected Constructors

protected LineProfile (Parcel in)

Public Methods

public String getDisplayName ()

Gets the user's display name.

Returns
  • The user's display name.

public Uri getPictureUrl ()

Gets the user's profile image URL.

Returns
  • The user's profile image URL.

public String getStatusMessage ()

Gets the user's status message.

Returns
  • The user's status message.

public String getUserId ()

Gets the user's user ID.

Returns
  • The user's user ID.