Phiên bản iOS SDK

FBSDKChooseContextContent

@interfaceFBSDKChooseContextContent:NSObject<FBSDKValidatable>
A model for an instant games choose context app switch dialog
  • This sets the filter which determines which context will show when the user is app switched to the choose context dialog.

    Declaration

    Objective-C
    @property(nonatomic,assign,unsafe_unretained,readwrite)FBSDKChooseContextFilterfilter;
    Swift
    varfilter:ChooseContextFilter{getset}
  • This sets the maximum number of participants that the suggested context(s) shown in the dialog should have.

    Declaration

    Objective-C
    @property(nonatomic,assign,unsafe_unretained,readwrite)intmaxParticipants;
    Swift
    varmaxParticipants:Int32{getset}
  • This sets the minimum number of participants that the suggested context(s) shown in the dialog should have.

    Declaration

    Objective-C
    @property(nonatomic,assign,unsafe_unretained,readwrite)intminParticipants;
    Swift
    varminParticipants:Int32{getset}
  • Undocumented

    Declaration

    Objective-C
    +(NSString*)filtersNameForFilters:(FBSDKChooseContextFilter)filter;
    Swift
    classfuncfiltersName(forFiltersfilter:ChooseContextFilter)->String