iOS SDK Version

FBSDKChooseContextContent

  @interface 
 FBSDKChooseContextContent 
 : 
 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 
     ) 
      FBSDKChooseContextFilter 
     
     filter 
     ; 
     
    
    Swift
      var 
     filter 
     : 
     ChooseContextFilter 
     { 
     get 
     set 
     } 
     
    
  • 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 
     ) 
     int 
     maxParticipants 
     ; 
     
    
    Swift
      var 
     maxParticipants 
     : 
     Int32 
     { 
     get 
     set 
     } 
     
    
  • 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 
     ) 
     int 
     minParticipants 
     ; 
     
    
    Swift
      var 
     minParticipants 
     : 
     Int32 
     { 
     get 
     set 
     } 
     
    
  • Undocumented

    Declaration

    Objective-C
      + 
     ( 
     NSString 
     * 
     ) 
     filtersNameForFilters 
     :( 
      FBSDKChooseContextFilter 
     
     ) 
     filter 
     ; 
     
    
    Swift
      class 
     func 
     filtersName 
     ( 
     forFilters 
     filter 
     : 
     ChooseContextFilter 
     ) 
     -> 
     String