ShareOpenGraphValueContainer
이 클래스의 최신 버전을 사용할 수 있습니다. 확인해보세요 최신 버전.

Provides an abstract class to contain Open Graph values.

Use ShareOpenGraphValueContainer.Builder to create instances

확장:Object
구현:ShareModel
패키지:model
생성자
ShareOpenGraphValueContainer(Builder)
protected ShareOpenGraphValueContainer(Builder builder)
매개변수설명
builder
인스턴스 메서드
get(String)

Gets a value out of the object.

public Object get(String key)
매개변수설명
keyThe key for the value.
Returns
The boolean value.
getBoolean(String, boolean)

Gets a boolean value out of the object.

public boolean getBoolean(String key, boolean defaultValue)
매개변수설명
keyThe key for the value.
defaultValueThe value to return if no value is found for the specified key.
Returns
The boolean value.
getBooleanArray(String)

Gets an array of boolean values out of the object.

public boolean getBooleanArray(String key)
매개변수설명
keyThe key for the value.
Returns
The boolean values.
getDouble(String, double)

Gets a double value out of the object.

public double getDouble(String key, double defaultValue)
매개변수설명
keyThe key for the value.
defaultValueThe value to return if no value is found for the specified key.
Returns
The double value.
getDoubleArray(String)

Gets an array of double values out of the object.

public double getDoubleArray(String key)
매개변수설명
keyThe key for the value.
Returns
The double values.
getInt(String, int)

Gets an int value out of the object.

public int getInt(String key, int defaultValue)
매개변수설명
keyThe key for the value.
defaultValueThe value to return if no value is found for the specified key.
Returns
The int value.
getIntArray(String)

Gets an array of int values out of the object.

public int getIntArray(String key)
매개변수설명
keyThe key for the value.
Returns
The int values.
getLong(String, long)

Gets an long value out of the object.

public long getLong(String key, long defaultValue)
매개변수설명
keyThe key for the value.
defaultValueThe value to return if no value is found for the specified key.
Returns
The long value.
getLongArray(String)

Gets an array of long values out of the object.

public long getLongArray(String key)
매개변수설명
keyThe key for the value.
Returns
The long values.
getObject(String)

Gets an object value out of the object.

public ShareOpenGraphObject getObject(String key)
매개변수설명
keyThe key for the value.
Returns
The object value.
getObjectArrayList(String)

Gets an array of object values out of the object.

public ArrayList getObjectArrayList(String key)
매개변수설명
keyThe key for the value.
Returns
The object values.
getPhoto(String)

Gets a photo value out of the object.

public SharePhoto getPhoto(String key)
매개변수설명
keyThe key for the value.
Returns
The photo value.
getPhotoArrayList(String)

Gets an array of photo values out of the object.

public ArrayList getPhotoArrayList(String key)
매개변수설명
keyThe key for the value.
Returns
The photo values.
getString(String)

Gets a string value out of the object.

public String getString(String key)
매개변수설명
keyThe key for the value.
Returns
The string value.
getStringArrayList(String)

Gets an array of string values out of the object.

public ArrayList getStringArrayList(String key)
매개변수설명
keyThe key for the value.
Returns
The string values.
getBundle()

Returns the values in the container packaged in a bundle.

public Bundle getBundle()
Returns
A bundle with the values.
keySet()

Returns a set of the keys contained in this object.

public Set keySet()
Returns
A set of the keys.
describeContents()

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

public int describeContents()
Returns
A bitmask indicating the set of special object types marshalled by the Parcelable.
describeContents()
public int describeContents()
writeToParcel(Parcel, int)

Flatten this object in to a Parcel.

public void writeToParcel(Parcel dest, int flags)
매개변수설명
destThe Parcel in which the object should be written.
flagsAdditional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.
writeToParcel(Parcel, int)
public void writeToParcel(Parcel out, int flags)
매개변수설명
out
flags