Functions
The following functions are available globally.
__attribute__((weak))externUIViewController*UnityGetGLViewController(void)
funcUnityGetGLViewController()->UIViewController!
__attribute__((__always_inline__))externFBGLViewControllerfbad_Cocos2DGetGLViewController(UIViewController**glViewController)
funcfbad_Cocos2DGetGLViewController(_glViewController:AutoreleasingUnsafeMutablePointer<UIViewController?>!)->FBGLViewController
__attribute__((__always_inline__))externUIViewController*fbad_GetGLViewController(void)
funcfbad_GetGLViewController()->UIViewController!
__attribute__((__always_inline__))externFBGLViewControllerfbad_UnityGetGLViewController(UIViewController**glViewController)
funcfbad_UnityGetGLViewController(_glViewController:AutoreleasingUnsafeMutablePointer<UIViewController?>!)->FBGLViewController
FB_EXPORTvoidFBAdSettingsBridgeAddTestDevice(charconst*deviceID)
funcFBAdSettingsBridgeAddTestDevice(_deviceID:UnsafePointer<Int8>)
FB_EXPORTvoidFBAdSettingsBridgeSetURLPrefix(charconst*urlPrefix)
funcFBAdSettingsBridgeSetURLPrefix(_urlPrefix:UnsafePointer<Int8>)
FB_EXPORTvoidFBAdSettingsBridgeSetIsChildDirected(boolisChildDirected)
funcFBAdSettingsBridgeSetIsChildDirected(_isChildDirected:Bool)
FB_EXPORTvoidFBAdSettingsBridgeSetMixedAudience(boolmixedAudience)
funcFBAdSettingsBridgeSetMixedAudience(_mixedAudience:Bool)
FB_EXPORTvoidFBAdSettingsBridgeSetAdvertiserTrackingEnabled(booladvertiserTrackingEnabled)
funcFBAdSettingsBridgeSetAdvertiserTrackingEnabled(_advertiserTrackingEnabled:Bool)
FB_EXPORTvoidFBAdSettingsBridgeSetDataProcessingOptions(charconst*_Nonnulloptions[_Nonnull],intlength)
funcFBAdSettingsBridgeSetDataProcessingOptions(_options:UnsafeMutablePointer<UnsafePointer<Int8>>,_length:Int32)
FB_EXPORTvoidFBAdSettingsBridgeSetDetailedDataProcessingOptions(charconst*_Nonnulloptions[_Nonnull],intlength,intcountry,intstate)
funcFBAdSettingsBridgeSetDetailedDataProcessingOptions(_options:UnsafeMutablePointer<UnsafePointer<Int8>>,_length:Int32,_country:Int32,_state:Int32)
FB_EXPORTcharconst*__nullableFBAdSettingsBridgeGetBidderToken(void)
funcFBAdSettingsBridgeGetBidderToken()->UnsafePointer<Int8>?
FB_EXPORTdoubleFBAdUtilityBridgeGetDeviceWidth(void)
funcFBAdUtilityBridgeGetDeviceWidth()->Double
FB_EXPORTdoubleFBAdUtilityBridgeGetDeviceHeight(void)
funcFBAdUtilityBridgeGetDeviceHeight()->Double
FB_EXPORTdoubleFBAdUtilityBridgeGetWidth(void)
funcFBAdUtilityBridgeGetWidth()->Double
FB_EXPORTdoubleFBAdUtilityBridgeGetHeight(void)
funcFBAdUtilityBridgeGetHeight()->Double
FB_EXPORTdoubleFBAdUtilityBridgeConvertFromDeviceSize(doubledeviceSize)
funcFBAdUtilityBridgeConvertFromDeviceSize(_deviceSize:Double)->Double
FB_EXPORTint32_tFBAdViewBridgeSizeHeight50Banner(void)
funcFBAdViewBridgeSizeHeight50Banner()->Int32
FB_EXPORTint32_tFBAdViewBridgeSizeHeight90Banner(void)
funcFBAdViewBridgeSizeHeight90Banner()->Int32
FB_EXPORTint32_tFBAdViewBridgeSizeInterstital(void)
funcFBAdViewBridgeSizeInterstital()->Int32
FB_EXPORTint32_tFBAdViewBridgeSizeHeight250Rectangle(void)
funcFBAdViewBridgeSizeHeight250Rectangle()->Int32
FB_EXPORTint32_tFBAdViewBridgeCreate(charconst*placementID,FBAdViewBridgeSizesize)
funcFBAdViewBridgeCreate(_placementID:UnsafePointer<Int8>!,_size:FBAdViewBridgeSize)->Int32
FB_EXPORTint32_tFBAdViewBridgeLoad(int32_tuniqueId)
funcFBAdViewBridgeLoad(_uniqueId:Int32)->Int32
FB_EXPORTint32_tFBAdViewBridgeLoadWithBidPayload(int32_tuniqueId,char*bidPayload)
funcFBAdViewBridgeLoadWithBidPayload(_uniqueId:Int32,_bidPayload:UnsafeMutablePointer<Int8>!)->Int32
FB_EXPORTboolFBAdViewBridgeIsValid(int32_tuniqueId)
funcFBAdViewBridgeIsValid(_uniqueId:Int32)->Bool
FB_EXPORTvoidFBAdViewBridgeShow(int32_tuniqueId,doublex,doubley,doublewidth,doubleheight)
funcFBAdViewBridgeShow(_uniqueId:Int32,_x:Double,_y:Double,_width:Double,_height:Double)
FB_EXPORTcharconst*FBAdViewBridgeGetPlacementId(int32_tuniqueId)
funcFBAdViewBridgeGetPlacementId(_uniqueId:Int32)->UnsafePointer<Int8>!
FB_EXPORTvoidFBAdViewBridgeDisableAutoRefresh(int32_tuniqueId)
funcFBAdViewBridgeDisableAutoRefresh(_uniqueId:Int32)
FB_EXPORTvoidFBAdViewBridgeSetExtraHints(int32_tuniqueId,charconst*extraHints)
funcFBAdViewBridgeSetExtraHints(_uniqueId:Int32,_extraHints:UnsafePointer<Int8>!)
FB_EXPORTvoidFBAdViewBridgeRelease(int32_tuniqueId)
funcFBAdViewBridgeRelease(_uniqueId:Int32)
FB_EXPORTvoidFBAdViewBridgeOnLoad(int32_tuniqueId,FBAdBridgeCallbackcallback)
funcFBAdViewBridgeOnLoad(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
FB_EXPORTvoidFBAdViewBridgeOnImpression(int32_tuniqueId,FBAdBridgeCallbackcallback)
funcFBAdViewBridgeOnImpression(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
FB_EXPORTvoidFBAdViewBridgeOnClick(int32_tuniqueId,FBAdBridgeCallbackcallback)
funcFBAdViewBridgeOnClick(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
FB_EXPORTvoidFBAdViewBridgeOnError(int32_tuniqueId,FBAdBridgeErrorCallbackcallback)
funcFBAdViewBridgeOnError(_uniqueId:Int32,_callback:FBAdBridgeErrorCallback!)
FB_EXPORTvoidFBAdViewBridgeOnFinishedClick(int32_tuniqueId,FBAdBridgeCallbackcallback)
funcFBAdViewBridgeOnFinishedClick(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
FB_EXPORTint32_tFBInterstitialAdBridgeCreate(charconst*placementID)
funcFBInterstitialAdBridgeCreate(_placementID:UnsafePointer<Int8>!)->Int32
FB_EXPORTint32_tFBInterstitialAdBridgeLoad(int32_tuniqueId)
funcFBInterstitialAdBridgeLoad(_uniqueId:Int32)->Int32
FB_EXPORTint32_tFBInterstitialAdBridgeLoadWithBidPayload(int32_tuniqueId,char*bidPayload)
funcFBInterstitialAdBridgeLoadWithBidPayload(_uniqueId:Int32,_bidPayload:UnsafeMutablePointer<Int8>!)->Int32
FB_EXPORTboolFBInterstitialAdBridgeIsValid(int32_tuniqueId)
funcFBInterstitialAdBridgeIsValid(_uniqueId:Int32)->Bool
FB_EXPORTcharconst*FBInterstitialAdBridgeGetPlacementId(int32_tuniqueId)
funcFBInterstitialAdBridgeGetPlacementId(_uniqueId:Int32)->UnsafePointer<Int8>!
FB_EXPORTboolFBInterstitialAdBridgeShow(int32_tuniqueId)
funcFBInterstitialAdBridgeShow(_uniqueId:Int32)->Bool
FB_EXPORTvoidFBInterstitialAdBridgeSetExtraHints(int32_tuniqueId,charconst*extraHints)
funcFBInterstitialAdBridgeSetExtraHints(_uniqueId:Int32,_extraHints:UnsafePointer<Int8>!)
FB_EXPORTvoidFBInterstitialAdBridgeRelease(int32_tuniqueId)
funcFBInterstitialAdBridgeRelease(_uniqueId:Int32)
FB_EXPORTvoidFBInterstitialAdBridgeOnLoad(int32_tuniqueId,FBAdBridgeCallbackcallback)
funcFBInterstitialAdBridgeOnLoad(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
FB_EXPORTvoidFBInterstitialAdBridgeOnImpression(int32_tuniqueId,FBAdBridgeCallbackcallback)
funcFBInterstitialAdBridgeOnImpression(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
FB_EXPORTvoidFBInterstitialAdBridgeOnClick(int32_tuniqueId,FBAdBridgeCallbackcallback)
funcFBInterstitialAdBridgeOnClick(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
FB_EXPORTvoidFBInterstitialAdBridgeOnError(int32_tuniqueId,FBAdBridgeErrorCallbackcallback)
funcFBInterstitialAdBridgeOnError(_uniqueId:Int32,_callback:FBAdBridgeErrorCallback!)
FB_EXPORTvoidFBInterstitialAdBridgeOnDidClose(int32_tuniqueId,FBAdBridgeCallbackcallback)
funcFBInterstitialAdBridgeOnDidClose(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
FB_EXPORTvoidFBInterstitialAdBridgeOnWillClose(int32_tuniqueId,FBAdBridgeCallbackcallback)
funcFBInterstitialAdBridgeOnWillClose(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
FB_EXPORTint32_tFBRewardedVideoAdBridgeCreate(charconst*placementID)
funcFBRewardedVideoAdBridgeCreate(_placementID:UnsafePointer<Int8>!)->Int32
FB_EXPORTint32_tFBRewardedVideoAdBridgeCreateWithReward(charconst*placementID,charconst*userID,charconst*currency)
funcFBRewardedVideoAdBridgeCreateWithReward(_placementID:UnsafePointer<Int8>!,_userID:UnsafePointer<Int8>!,_currency:UnsafePointer<Int8>!)->Int32
FB_EXPORTint32_tFBRewardedVideoAdBridgeLoad(int32_tuniqueId)
funcFBRewardedVideoAdBridgeLoad(_uniqueId:Int32)->Int32
FB_EXPORTint32_tFBRewardedVideoAdBridgeLoadWithBidPayload(int32_tuniqueId,char*bidPayload)
funcFBRewardedVideoAdBridgeLoadWithBidPayload(_uniqueId:Int32,_bidPayload:UnsafeMutablePointer<Int8>!)->Int32
FB_EXPORTboolFBRewardedVideoAdBridgeIsValid(int32_tuniqueId)
funcFBRewardedVideoAdBridgeIsValid(_uniqueId:Int32)->Bool
FB_EXPORTcharconst*FBRewardedVideoAdBridgeGetPlacementId(int32_tuniqueId)
funcFBRewardedVideoAdBridgeGetPlacementId(_uniqueId:Int32)->UnsafePointer<Int8>!
FB_EXPORTboolFBRewardedVideoAdBridgeShow(int32_tuniqueId)
funcFBRewardedVideoAdBridgeShow(_uniqueId:Int32)->Bool
FB_EXPORTboolFBRewardedVideoAdBridgeShowAnimated(int32_tuniqueId,boolisAnimated)
funcFBRewardedVideoAdBridgeShowAnimated(_uniqueId:Int32,_isAnimated:Bool)->Bool
FB_EXPORTvoidFBRewardedVideoAdBridgeSetExtraHints(int32_tuniqueId,charconst*extraHints)
funcFBRewardedVideoAdBridgeSetExtraHints(_uniqueId:Int32,_extraHints:UnsafePointer<Int8>!)
FB_EXPORTvoidFBRewardedVideoAdBridgeRelease(int32_tuniqueId)
funcFBRewardedVideoAdBridgeRelease(_uniqueId:Int32)
FB_EXPORTvoidFBRewardedVideoAdBridgeOnLoad(int32_tuniqueId,FBAdBridgeCallbackcallback)
funcFBRewardedVideoAdBridgeOnLoad(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
FB_EXPORTvoidFBRewardedVideoAdBridgeOnImpression(int32_tuniqueId,FBAdBridgeCallbackcallback)
funcFBRewardedVideoAdBridgeOnImpression(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
FB_EXPORTvoidFBRewardedVideoAdBridgeOnClick(int32_tuniqueId,FBAdBridgeCallbackcallback)
funcFBRewardedVideoAdBridgeOnClick(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
FB_EXPORTvoidFBRewardedVideoAdBridgeOnError(int32_tuniqueId,FBAdBridgeErrorCallbackcallback)
funcFBRewardedVideoAdBridgeOnError(_uniqueId:Int32,_callback:FBAdBridgeErrorCallback!)
FB_EXPORTvoidFBRewardedVideoAdBridgeOnDidClose(int32_tuniqueId,FBAdBridgeCallbackcallback)
funcFBRewardedVideoAdBridgeOnDidClose(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
FB_EXPORTvoidFBRewardedVideoAdBridgeOnWillClose(int32_tuniqueId,FBAdBridgeCallbackcallback)
funcFBRewardedVideoAdBridgeOnWillClose(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
FB_EXPORTvoidFBRewardedVideoAdBridgeOnVideoComplete(int32_tuniqueId,FBAdBridgeCallbackcallback)
funcFBRewardedVideoAdBridgeOnVideoComplete(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
FB_EXPORTvoidFBRewardedVideoAdBridgeOnServerRewardSuccess(int32_tuniqueId,FBAdBridgeCallbackcallback)
funcFBRewardedVideoAdBridgeOnServerRewardSuccess(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
FB_EXPORTvoidFBRewardedVideoAdBridgeOnServerRewardFailure(int32_tuniqueId,FBAdBridgeCallbackcallback)
funcFBRewardedVideoAdBridgeOnServerRewardFailure(_uniqueId:Int32,_callback:FBAdBridgeCallback!)