iOS SDK Version

Functions

The following functions are available globally.
  • Undocumented

    Declaration

    Objective-C
    __attribute__((weak))externUIViewController*UnityGetGLViewController(void)
    Swift
    funcUnityGetGLViewController()->UIViewController!
  • Undocumented

    Declaration

    Objective-C
    __attribute__((__always_inline__))externFBGLViewControllerfbad_Cocos2DGetGLViewController(UIViewController**glViewController)
    Swift
    funcfbad_Cocos2DGetGLViewController(_glViewController:AutoreleasingUnsafeMutablePointer<UIViewController?>!)->FBGLViewController
  • Undocumented

    Declaration

    Objective-C
    __attribute__((__always_inline__))externUIViewController*fbad_GetGLViewController(void)
    Swift
    funcfbad_GetGLViewController()->UIViewController!
  • Undocumented

    Declaration

    Objective-C
    __attribute__((__always_inline__))externFBGLViewControllerfbad_UnityGetGLViewController(UIViewController**glViewController)
    Swift
    funcfbad_UnityGetGLViewController(_glViewController:AutoreleasingUnsafeMutablePointer<UIViewController?>!)->FBGLViewController
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBAdSettingsBridgeAddTestDevice(charconst*deviceID)
    Swift
    funcFBAdSettingsBridgeAddTestDevice(_deviceID:UnsafePointer<Int8>)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBAdSettingsBridgeSetURLPrefix(charconst*urlPrefix)
    Swift
    funcFBAdSettingsBridgeSetURLPrefix(_urlPrefix:UnsafePointer<Int8>)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBAdSettingsBridgeSetIsChildDirected(boolisChildDirected)
    Swift
    funcFBAdSettingsBridgeSetIsChildDirected(_isChildDirected:Bool)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBAdSettingsBridgeSetMixedAudience(boolmixedAudience)
    Swift
    funcFBAdSettingsBridgeSetMixedAudience(_mixedAudience:Bool)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBAdSettingsBridgeSetAdvertiserTrackingEnabled(booladvertiserTrackingEnabled)
    Swift
    funcFBAdSettingsBridgeSetAdvertiserTrackingEnabled(_advertiserTrackingEnabled:Bool)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBAdSettingsBridgeSetDataProcessingOptions(charconst*_Nonnulloptions[],intlength)
    Swift
    funcFBAdSettingsBridgeSetDataProcessingOptions(_options:UnsafeMutablePointer<UnsafePointer<Int8>>!,_length:Int32)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBAdSettingsBridgeSetDetailedDataProcessingOptions(charconst*_Nonnulloptions[],intlength,intcountry,intstate)
    Swift
    funcFBAdSettingsBridgeSetDetailedDataProcessingOptions(_options:UnsafeMutablePointer<UnsafePointer<Int8>>!,_length:Int32,_country:Int32,_state:Int32)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTcharconst*__nullableFBAdSettingsBridgeGetBidderToken(void)
    Swift
    funcFBAdSettingsBridgeGetBidderToken()->UnsafePointer<Int8>?
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTdoubleFBAdUtilityBridgeGetDeviceWidth(void)
    Swift
    funcFBAdUtilityBridgeGetDeviceWidth()->Double
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTdoubleFBAdUtilityBridgeGetDeviceHeight(void)
    Swift
    funcFBAdUtilityBridgeGetDeviceHeight()->Double
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTdoubleFBAdUtilityBridgeGetWidth(void)
    Swift
    funcFBAdUtilityBridgeGetWidth()->Double
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTdoubleFBAdUtilityBridgeGetHeight(void)
    Swift
    funcFBAdUtilityBridgeGetHeight()->Double
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTdoubleFBAdUtilityBridgeConvertFromDeviceSize(doubledeviceSize)
    Swift
    funcFBAdUtilityBridgeConvertFromDeviceSize(_deviceSize:Double)->Double
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTint32_tFBAdViewBridgeSizeHeight50Banner(void)
    Swift
    funcFBAdViewBridgeSizeHeight50Banner()->Int32
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTint32_tFBAdViewBridgeSizeHeight90Banner(void)
    Swift
    funcFBAdViewBridgeSizeHeight90Banner()->Int32
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTint32_tFBAdViewBridgeSizeInterstital(void)
    Swift
    funcFBAdViewBridgeSizeInterstital()->Int32
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTint32_tFBAdViewBridgeSizeHeight250Rectangle(void)
    Swift
    funcFBAdViewBridgeSizeHeight250Rectangle()->Int32
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTint32_tFBAdViewBridgeCreate(charconst*placementID,FBAdViewBridgeSizesize)
    Swift
    funcFBAdViewBridgeCreate(_placementID:UnsafePointer<Int8>!,_size:FBAdViewBridgeSize)->Int32
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTint32_tFBAdViewBridgeLoad(int32_tuniqueId)
    Swift
    funcFBAdViewBridgeLoad(_uniqueId:Int32)->Int32
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTint32_tFBAdViewBridgeLoadWithBidPayload(int32_tuniqueId,char*bidPayload)
    Swift
    funcFBAdViewBridgeLoadWithBidPayload(_uniqueId:Int32,_bidPayload:UnsafeMutablePointer<Int8>!)->Int32
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTboolFBAdViewBridgeIsValid(int32_tuniqueId)
    Swift
    funcFBAdViewBridgeIsValid(_uniqueId:Int32)->Bool
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBAdViewBridgeShow(int32_tuniqueId,doublex,doubley,doublewidth,doubleheight)
    Swift
    funcFBAdViewBridgeShow(_uniqueId:Int32,_x:Double,_y:Double,_width:Double,_height:Double)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTcharconst*FBAdViewBridgeGetPlacementId(int32_tuniqueId)
    Swift
    funcFBAdViewBridgeGetPlacementId(_uniqueId:Int32)->UnsafePointer<Int8>!
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBAdViewBridgeDisableAutoRefresh(int32_tuniqueId)
    Swift
    funcFBAdViewBridgeDisableAutoRefresh(_uniqueId:Int32)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBAdViewBridgeSetExtraHints(int32_tuniqueId,charconst*extraHints)
    Swift
    funcFBAdViewBridgeSetExtraHints(_uniqueId:Int32,_extraHints:UnsafePointer<Int8>!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBAdViewBridgeRelease(int32_tuniqueId)
    Swift
    funcFBAdViewBridgeRelease(_uniqueId:Int32)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBAdViewBridgeOnLoad(int32_tuniqueId,FBAdBridgeCallbackcallback)
    Swift
    funcFBAdViewBridgeOnLoad(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBAdViewBridgeOnImpression(int32_tuniqueId,FBAdBridgeCallbackcallback)
    Swift
    funcFBAdViewBridgeOnImpression(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBAdViewBridgeOnClick(int32_tuniqueId,FBAdBridgeCallbackcallback)
    Swift
    funcFBAdViewBridgeOnClick(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBAdViewBridgeOnError(int32_tuniqueId,FBAdBridgeErrorCallbackcallback)
    Swift
    funcFBAdViewBridgeOnError(_uniqueId:Int32,_callback:FBAdBridgeErrorCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBAdViewBridgeOnFinishedClick(int32_tuniqueId,FBAdBridgeCallbackcallback)
    Swift
    funcFBAdViewBridgeOnFinishedClick(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTint32_tFBInterstitialAdBridgeCreate(charconst*placementID)
    Swift
    funcFBInterstitialAdBridgeCreate(_placementID:UnsafePointer<Int8>!)->Int32
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTint32_tFBInterstitialAdBridgeLoad(int32_tuniqueId)
    Swift
    funcFBInterstitialAdBridgeLoad(_uniqueId:Int32)->Int32
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTint32_tFBInterstitialAdBridgeLoadWithBidPayload(int32_tuniqueId,char*bidPayload)
    Swift
    funcFBInterstitialAdBridgeLoadWithBidPayload(_uniqueId:Int32,_bidPayload:UnsafeMutablePointer<Int8>!)->Int32
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTboolFBInterstitialAdBridgeIsValid(int32_tuniqueId)
    Swift
    funcFBInterstitialAdBridgeIsValid(_uniqueId:Int32)->Bool
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTcharconst*FBInterstitialAdBridgeGetPlacementId(int32_tuniqueId)
    Swift
    funcFBInterstitialAdBridgeGetPlacementId(_uniqueId:Int32)->UnsafePointer<Int8>!
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTboolFBInterstitialAdBridgeShow(int32_tuniqueId)
    Swift
    funcFBInterstitialAdBridgeShow(_uniqueId:Int32)->Bool
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBInterstitialAdBridgeSetExtraHints(int32_tuniqueId,charconst*extraHints)
    Swift
    funcFBInterstitialAdBridgeSetExtraHints(_uniqueId:Int32,_extraHints:UnsafePointer<Int8>!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBInterstitialAdBridgeRelease(int32_tuniqueId)
    Swift
    funcFBInterstitialAdBridgeRelease(_uniqueId:Int32)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBInterstitialAdBridgeOnLoad(int32_tuniqueId,FBAdBridgeCallbackcallback)
    Swift
    funcFBInterstitialAdBridgeOnLoad(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBInterstitialAdBridgeOnImpression(int32_tuniqueId,FBAdBridgeCallbackcallback)
    Swift
    funcFBInterstitialAdBridgeOnImpression(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBInterstitialAdBridgeOnClick(int32_tuniqueId,FBAdBridgeCallbackcallback)
    Swift
    funcFBInterstitialAdBridgeOnClick(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBInterstitialAdBridgeOnError(int32_tuniqueId,FBAdBridgeErrorCallbackcallback)
    Swift
    funcFBInterstitialAdBridgeOnError(_uniqueId:Int32,_callback:FBAdBridgeErrorCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBInterstitialAdBridgeOnDidClose(int32_tuniqueId,FBAdBridgeCallbackcallback)
    Swift
    funcFBInterstitialAdBridgeOnDidClose(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBInterstitialAdBridgeOnWillClose(int32_tuniqueId,FBAdBridgeCallbackcallback)
    Swift
    funcFBInterstitialAdBridgeOnWillClose(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTint32_tFBRewardedVideoAdBridgeCreate(charconst*placementID)
    Swift
    funcFBRewardedVideoAdBridgeCreate(_placementID:UnsafePointer<Int8>!)->Int32
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTint32_tFBRewardedVideoAdBridgeCreateWithReward(charconst*placementID,charconst*userID,charconst*currency)
    Swift
    funcFBRewardedVideoAdBridgeCreateWithReward(_placementID:UnsafePointer<Int8>!,_userID:UnsafePointer<Int8>!,_currency:UnsafePointer<Int8>!)->Int32
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTint32_tFBRewardedVideoAdBridgeLoad(int32_tuniqueId)
    Swift
    funcFBRewardedVideoAdBridgeLoad(_uniqueId:Int32)->Int32
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTint32_tFBRewardedVideoAdBridgeLoadWithBidPayload(int32_tuniqueId,char*bidPayload)
    Swift
    funcFBRewardedVideoAdBridgeLoadWithBidPayload(_uniqueId:Int32,_bidPayload:UnsafeMutablePointer<Int8>!)->Int32
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTboolFBRewardedVideoAdBridgeIsValid(int32_tuniqueId)
    Swift
    funcFBRewardedVideoAdBridgeIsValid(_uniqueId:Int32)->Bool
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTcharconst*FBRewardedVideoAdBridgeGetPlacementId(int32_tuniqueId)
    Swift
    funcFBRewardedVideoAdBridgeGetPlacementId(_uniqueId:Int32)->UnsafePointer<Int8>!
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTboolFBRewardedVideoAdBridgeShow(int32_tuniqueId)
    Swift
    funcFBRewardedVideoAdBridgeShow(_uniqueId:Int32)->Bool
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTboolFBRewardedVideoAdBridgeShowAnimated(int32_tuniqueId,boolisAnimated)
    Swift
    funcFBRewardedVideoAdBridgeShowAnimated(_uniqueId:Int32,_isAnimated:Bool)->Bool
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBRewardedVideoAdBridgeSetExtraHints(int32_tuniqueId,charconst*extraHints)
    Swift
    funcFBRewardedVideoAdBridgeSetExtraHints(_uniqueId:Int32,_extraHints:UnsafePointer<Int8>!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBRewardedVideoAdBridgeRelease(int32_tuniqueId)
    Swift
    funcFBRewardedVideoAdBridgeRelease(_uniqueId:Int32)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBRewardedVideoAdBridgeOnLoad(int32_tuniqueId,FBAdBridgeCallbackcallback)
    Swift
    funcFBRewardedVideoAdBridgeOnLoad(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBRewardedVideoAdBridgeOnImpression(int32_tuniqueId,FBAdBridgeCallbackcallback)
    Swift
    funcFBRewardedVideoAdBridgeOnImpression(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBRewardedVideoAdBridgeOnClick(int32_tuniqueId,FBAdBridgeCallbackcallback)
    Swift
    funcFBRewardedVideoAdBridgeOnClick(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBRewardedVideoAdBridgeOnError(int32_tuniqueId,FBAdBridgeErrorCallbackcallback)
    Swift
    funcFBRewardedVideoAdBridgeOnError(_uniqueId:Int32,_callback:FBAdBridgeErrorCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBRewardedVideoAdBridgeOnDidClose(int32_tuniqueId,FBAdBridgeCallbackcallback)
    Swift
    funcFBRewardedVideoAdBridgeOnDidClose(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBRewardedVideoAdBridgeOnWillClose(int32_tuniqueId,FBAdBridgeCallbackcallback)
    Swift
    funcFBRewardedVideoAdBridgeOnWillClose(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBRewardedVideoAdBridgeOnVideoComplete(int32_tuniqueId,FBAdBridgeCallbackcallback)
    Swift
    funcFBRewardedVideoAdBridgeOnVideoComplete(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBRewardedVideoAdBridgeOnServerRewardSuccess(int32_tuniqueId,FBAdBridgeCallbackcallback)
    Swift
    funcFBRewardedVideoAdBridgeOnServerRewardSuccess(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
  • Undocumented

    Declaration

    Objective-C
    FB_EXPORTvoidFBRewardedVideoAdBridgeOnServerRewardFailure(int32_tuniqueId,FBAdBridgeCallbackcallback)
    Swift
    funcFBRewardedVideoAdBridgeOnServerRewardFailure(_uniqueId:Int32,_callback:FBAdBridgeCallback!)