Class MemberOptions
Defines options to select the desired data when retrieving member information.
Namespace: Unity.Services.Friends.Options
Syntax
public class MemberOptions
Methods
WithPresence(Boolean)
Defines whether or not to attach presence data to the Member object
Declaration
public MemberOptions WithPresence(bool withPresence)
Parameters
Type | Name | Description |
---|---|---|
Boolean | withPresence | whether or not to attach presence data |
Returns
Type | Description |
---|---|
MemberOptions | Itself |
WithProfile(Boolean)
Defines whether or not to attach profile data to the Member object
Declaration
public MemberOptions WithProfile(bool withProfile)
Parameters
Type | Name | Description |
---|---|---|
Boolean | withProfile | whether or not to attach profile data |
Returns
Type | Description |
---|---|
MemberOptions | Itself |