iOS SDK Version

Type Definitions

The following type definitions are available globally.
  • Main completion handling of any Gaming Service (Friend Finder, Image/Video Upload).

    Declaration

    Objective-C
      typedef 
     void 
     ( 
     ^ 
     FBSDKGamingServiceCompletionHandler 
     )( 
     BOOL 
     , 
     NSError 
     * 
     _Nullable 
     ) 
     
    
    Swift
      typealias 
     GamingServiceCompletionHandler 
     = 
     ( 
     Bool 
     , 
     Error 
     ?) 
     -> 
     Void 
     
    

    Parameters

  • Main completion handling of any Gaming Service (Friend Finder, Image/Video Upload).

    Declaration

    Objective-C
      typedef 
     void 
     ( 
     ^ 
     FBSDKGamingServiceResultCompletion 
     )( 
     BOOL 
     , 
     NSDictionary 
     < 
     NSString 
     * 
     , 
     id 
     > 
     * 
     _Nullable 
     , 
     NSError 
     * 
     _Nullable 
     ) 
     
    
    Swift
      typealias 
     GamingServiceResultCompletion 
     = 
     ( 
     Bool 
     , 
     [ 
     String 
     : 
     Any 
     ]?, 
     Error 
     ?) 
     -> 
     Void 
     
    

    Parameters

  • Main completion handling of any Gaming Service (Friend Finder, Image/Video Upload).

    Declaration

    Objective-C
      typedef 
     void 
     ( 
     ^ 
     FBSDKGamingServiceProgressHandler 
     )( 
     int64_t 
     , 
     int64_t 
     , 
     int64_t 
     ) 
     
    
    Swift
      typealias 
     GamingServiceProgressHandler 
     = 
     ( 
     Int64 
     , 
     Int64 
     , 
     Int64 
     ) 
     -> 
     Void 
     
    

    Parameters