-
- All Implemented Interfaces:
-
com.facebook.share.ShareBuilder,com.facebook.share.model.ShareModelBuilder
public final class ContextChooseContent.Builder implements ShareModelBuilder<ContextChooseContent, ContextChooseContent.Builder>
Builder class for a concrete instance of ContextChooseContent
-
-
Constructor Summary
Constructors Constructor Description ContextChooseContent.Builder()
-
Method Summary
Modifier and Type Method Description final ContextChooseContent.BuildersetFilters(List<String> filters)Sets the set of filters to apply to the context suggestions. final ContextChooseContent.BuildersetMaxSize(Integer maxSize)Sets the maximum number of participants that a suggested context should ideally have. final ContextChooseContent.BuildersetMinSize(Integer minSize)Sets the minimum number of participants that a suggested context should ideally have. ContextChooseContentbuild()ContextChooseContent.BuilderreadFrom(ContextChooseContent model)final ContextChooseContent.BuilderreadFrom(Parcel parcel)-
-
Method Detail
-
setFilters
final ContextChooseContent.Builder setFilters(List<String> filters)
Sets the set of filters to apply to the context suggestions.
- Parameters:
filters- the set of filter to apply
-
setMaxSize
final ContextChooseContent.Builder setMaxSize(Integer maxSize)
Sets the maximum number of participants that a suggested context should ideally have.
- Parameters:
maxSize- the maximum number of participants
-
setMinSize
final ContextChooseContent.Builder setMinSize(Integer minSize)
Sets the minimum number of participants that a suggested context should ideally have.
- Parameters:
minSize- the minimum number of participants
-
build
ContextChooseContent build()
-
readFrom
ContextChooseContent.Builder readFrom(ContextChooseContent model)
-
readFrom
final ContextChooseContent.Builder readFrom(Parcel parcel)
-
-
-
-