MyOpenSpace.Person class

Only Basic information (Nickname, ID, ProfileUrl, ThumbnailImage) will be in data coming back from a MyOpenSpace.MySpacePeopleRequest. When using the MyOpenSpace.MySpacePersonRequest, use the full name of the properties that you want to retrieve in the RequestFields attribute separated by commas:
<MyOpenSpace:MySpacePersonRequest x:Key="ViewerRequestDS"            
   IdSpec="opensocial.IdSpec.PersonId.VIEWER"                  
   RequestFields="opensocial.Person.Field.ID, opensocial.Person.Field.MOVIES"/>

Properties

This implements the properties of the MySpace OpenSocial Person class.
Property Name Description opensocial field name
AboutMe Gets or sets a general statement about the person opensocial.Person.Field.ABOUT_ME
Age Gets or sets a double precision number representing the person's age opensocial.Person.Field.AGE
BodyType Gets or sets an the person's body type as an opensocial.BodyType opensocial.Person.Field.BODY_TYPE
Books Gets or sets an enumerable collection of strings - MySpace will return a string collection with a single element. Use the MyOpenSpace.HtmlToEnumerableConverter in data binding to help with parsing it opensocial.Person.Fields.BOOKS
Children Gets or sets the persons children opensocial.Person.Field.CHILDREN
CurrentLocation Gets or sets the person's current location as an opensocial.Address opensocial.Person.Field.CURRENT_LOCATION
DateOfBirth Gets or sets the person's date of birth opensocial.Person.Field.DATEOFBIRTH
Drinker Gets or sets an opensocial.Enum for the person's drinking habits opensocial.Person.Field.DRINKER
Ethnicity Gets or sets the person's ethnicity opensocial.Person.Field.ETHNICITY
Gender Gets or sets an opensocial.Enum for the person's gender opensocial.Person.Field.GENDER
HasApp Gets a value indicating whether the user has an app opensocial.Person.Field.HAS_APP
Heroes Gets an enumerable collection of strings - MySpace will return a string collection with a single element. Use the MyOpenSpace.HtmlToEnumerableConverter in data binding to help with parsing it. opensocial.Person.Field.HEROES
ID Gets or sets the person's unique ID opensocial.Person.Field.ID
Interests Gets an enumerable collection of strings - MySpace will return a string collection with a single element. Use the MyOpenSpace.HtmlToEnumerableConverter in data binding to help with parsing it. opensocial.Person.Field.INTERESTS
Jobs Gets or sets an enumerable collection of opensocial.Organization objects representing the person's jobs opensocial.Person.Field.JOBS
LookingFor Gets or sets an opensocial.Enum specifying what the person is looking for on the site opensocial.Person.Field.LOOKING_FOR
LargeImage Gets or sets the large image for the person opensocial.Person.Field.LARGE_IMAGE
MediumImage Gets or sets the medium-sized image for the person opensocial.Person.Field.LARGE_IMAGE
Movies an enumerable collection of strings - MySpace will return a string collection with a single element. Use the MyOpenSpace.HtmlToEnumerableConverter in data binding to help with parsing it. opensocial.Person.Field.MOVIES
Music an enumerable collection of strings - MySpace will return a string collection with a single element. Use the MyOpenSpace.HtmlToEnumerableConverter in data binding to help with parsing it. opensocial.Person.Field.MUSIC
Name Gets or sets the opensocial.Name for the person. opensocial.Person.Field.NAME
NetworkPresence Gets or sets the network presence for the person as an opensocial.Enum opensocial.Person.Field.NETWORK_PRESENCE
Nickname Gets or sets the person's nickname - this is the same as the DisplayName on MySpace opensocial.Person.Field.NICKNAME
ProfileSong Gets or sets the opensocial.Url for the profile song. opensocial.Person.Field.PROFILE_SONG
ProfileUrl Gets or sets the profile Uri for the person. opensocial.Person.Field.PROFILE_URL
ProfileVideo Gets or sets an opensocial.Url representing the person's profile video. opensocial.Person.Fields.PROFILE_VIDEO
RelationshipStatus Gets or sets a string representing the person's relationship status. opensocial.Person.Fields.RELATIONSHIP_STATUS
Religion Gets or sets a string representing the person's religion. opensocial.Person.Fields.RELIGION
SexualOrientation Gets or sets a string representing the person's sexual orientation opensocial.Person.Fields.SEXUAL_ORIENTATION
Smoker Gets or sets an opensocial.Enum for the person's smoking habits. opensocial.Person.Fields.SMOKER
Status Gets or sets the users's status opensocial.Person.Fields.STATUS
ThumbnailImage Gets or sets the BitmapImage thumbnail image for the person (will only work with PNG or JPEG images, not GIF). opensocial.Person.Fields.THUMBNAIL_URL
TVShows Gets or sets the TV Shows for the user opensocial.Person.Field.TV_SHOWS
Urls Gets or sets the the URLs for the user as a collection of opensocial.Url objects. opensocial.Person.Field.URLS

Last edited Mar 31, 2009 at 10:19 PM by mscherotter, version 33

Comments

No comments yet.