Class InitializeOptions
Defines the options desired when initializing the Friends service.
Namespace: Unity.Services.Friends.Options
Syntax
public class InitializeOptions
Methods
WithEvents(Boolean)
Defines whether or not to attach profile data to the member object
Declaration
public InitializeOptions WithEvents(bool withEvents)
Parameters
Type | Name | Description |
---|---|---|
Boolean | withEvents | whether or not to use events to update lists |
Returns
Type | Description |
---|---|
InitializeOptions | Itself |
WithMemberPresence(Boolean)
Defines whether or not to attach presence data to the member object
Declaration
public InitializeOptions WithMemberPresence(bool withPresence)
Parameters
Type | Name | Description |
---|---|---|
Boolean | withPresence | whether or not to attach presence data |
Returns
Type | Description |
---|---|
InitializeOptions | Itself |
WithMemberProfile(Boolean)
Defines whether or not to attach profile data to the member object
Declaration
public InitializeOptions WithMemberProfile(bool withProfile)
Parameters
Type | Name | Description |
---|---|---|
Boolean | withProfile | whether or not to attach profile data |
Returns
Type | Description |
---|---|
InitializeOptions | Itself |