Skip to main content

opensocial.Enum


Method​

opensocial.Enum.getKey​

String getKey()
Parameter​

None

Return value​
TypeDescription
StringKey
Sample​
var viewer = data.get("viewer").getData();
var key = person.getField(opensocial.Person.Field.GENDER).getKey();

opensocial.Enum.getDisplayValue​

String getDisplayValue()

Acquires the Enum value. A displayable string is returned.

Parameter​

None

Return value​
TypeDescription
StringValue
Sample​
var viewer = data.get("viewer").getData();
var gender = person.getField(opensocial.Person.Field.GENDER).getDisplayValue();

opensocial.Enum.Drinker​

opensocial.Enum.Drinker.NO​

Not supported.

opensocial.Enum.Drinker.YES​

Not supported.

opensocial.Enum.Drinker.SOCIALLY​

Not supported.

opensocial.Enum.Drinker.OCCASIONALLY​

Not supported.

opensocial.Enum.Drinker.REGULARLY​

Not supported.

opensocial.Enum.Drinker.HEAVILY​

Not supported.

opensocial.Enum.Drinker.QUITTING​

Not supported.

opensocial.Enum.Drinker.QUIT​

Not supported.


opensocial.Enum.Gender​

opensocial.Enum.Gender.MALE​

opensocial.Enum.Gender.FEMALE​


opensocial.Enum.LookingFor​

opensocial.Enum.LookingFor.DATING​

Not supported.

opensocial.Enum.LookingFor.FRIENDS​

Not supported.

opensocial.Enum.LookingFor.RELATIONSHIP​

Not supported.

opensocial.Enum.LookingFor.NETWORKING​

Not supported.

opensocial.Enum.LookingFor.ACTIVITY_PARTNERS​

Not supported.

opensocial.Enum.LookingFor.RANDOM​

Not supported.


opensocial.Enum.Presence​

opensocial.Enum.Presence.OFFLINE​

Not supported.

opensocial.Enum.Presence.ONLINE​

Not supported.

opensocial.Enum.Presence.AWAY​

Not supported.

opensocial.Enum.Presence.CHAT​

Not supported.

opensocial.Enum.Presence.DND​

Not supported.

opensocial.Enum.Presence.XA​

Not supported.


opensocial.Enum.Smoker​

opensocial.Enum.Smoker.NO​

Not supported.

opensocial.Enum.Smoker.YES​

Not supported.

opensocial.Enum.Smoker.SOCIALLY​

Not supported.

opensocial.Enum.Smoker.OCCASIONALLY​

Not supported.

opensocial.Enum.Smoker.REGULARLY​

Not supported.

opensocial.Enum.Smoker.HEAVILY​

Not supported.

opensocial.Enum.Smoker.QUITTING​

Not supported.

opensocial.Enum.Smoker.QUIT​

Not supported.

Revision History​

  • 12/2010
    • Initial Release.