iOS SDK Version
Functions
The following functions are available globally.
- Undocumented
Declaration
Objective-C__attribute__((weak))externUIViewController*UnityGetGLViewController(void)
SwiftfuncUnityGetGLViewController()->UIViewController!
- Undocumented
Declaration
Objective-C__attribute__((__always_inline__))externFBGLViewControllerfbad_Cocos2DGetGLViewController(UIViewController**glViewController)
Swiftfuncfbad_Cocos2DGetGLViewController(_glViewController:AutoreleasingUnsafeMutablePointer<UIViewController?>!)->FBGLViewController
- Undocumented
Declaration
Objective-C__attribute__((__always_inline__))externUIViewController*fbad_GetGLViewController(void)
Swiftfuncfbad_GetGLViewController()->UIViewController!
- Undocumented
Declaration
Objective-C__attribute__((__always_inline__))externFBGLViewControllerfbad_UnityGetGLViewController(UIViewController**glViewController)
Swiftfuncfbad_UnityGetGLViewController(_glViewController:AutoreleasingUnsafeMutablePointer<UIViewController?>!)->FBGLViewController
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBAdSettingsBridgeAddTestDevice(charconst*deviceID)
SwiftfuncFBAdSettingsBridgeAddTestDevice(_deviceID:UnsafePointer<Int8>)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBAdSettingsBridgeSetURLPrefix(charconst*urlPrefix)
SwiftfuncFBAdSettingsBridgeSetURLPrefix(_urlPrefix:UnsafePointer<Int8>)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBAdSettingsBridgeSetIsChildDirected(boolisChildDirected)
SwiftfuncFBAdSettingsBridgeSetIsChildDirected(_isChildDirected:Bool)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBAdSettingsBridgeSetMixedAudience(boolmixedAudience)
SwiftfuncFBAdSettingsBridgeSetMixedAudience(_mixedAudience:Bool)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBAdSettingsBridgeSetAdvertiserTrackingEnabled(booladvertiserTrackingEnabled)
SwiftfuncFBAdSettingsBridgeSetAdvertiserTrackingEnabled(_advertiserTrackingEnabled:Bool)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBAdSettingsBridgeSetDataProcessingOptions(charconst*_Nonnulloptions[],intlength)
SwiftfuncFBAdSettingsBridgeSetDataProcessingOptions(_options:UnsafeMutablePointer<UnsafePointer<Int8>>!,_length:Int32)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBAdSettingsBridgeSetDetailedDataProcessingOptions(charconst*_Nonnulloptions[],intlength,intcountry,intstate)
SwiftfuncFBAdSettingsBridgeSetDetailedDataProcessingOptions(_options:UnsafeMutablePointer<UnsafePointer<Int8>>!,_length:Int32,_country:Int32,_state:Int32)
- Undocumented
Declaration
Objective-CFB_EXPORTcharconst*__nullableFBAdSettingsBridgeGetBidderToken(void)
SwiftfuncFBAdSettingsBridgeGetBidderToken()->UnsafePointer<Int8>?
- Undocumented
Declaration
Objective-CFB_EXPORTdoubleFBAdUtilityBridgeGetDeviceWidth(void)
SwiftfuncFBAdUtilityBridgeGetDeviceWidth()->Double
- Undocumented
Declaration
Objective-CFB_EXPORTdoubleFBAdUtilityBridgeGetDeviceHeight(void)
SwiftfuncFBAdUtilityBridgeGetDeviceHeight()->Double
- Undocumented
Declaration
Objective-CFB_EXPORTdoubleFBAdUtilityBridgeGetWidth(void)
SwiftfuncFBAdUtilityBridgeGetWidth()->Double
- Undocumented
Declaration
Objective-CFB_EXPORTdoubleFBAdUtilityBridgeGetHeight(void)
SwiftfuncFBAdUtilityBridgeGetHeight()->Double
- Undocumented
Declaration
Objective-CFB_EXPORTdoubleFBAdUtilityBridgeConvertFromDeviceSize(doubledeviceSize)
SwiftfuncFBAdUtilityBridgeConvertFromDeviceSize(_deviceSize:Double)->Double
- Undocumented
Declaration
Objective-CFB_EXPORTint32_tFBAdViewBridgeSizeHeight50Banner(void)
SwiftfuncFBAdViewBridgeSizeHeight50Banner()->Int32
- Undocumented
Declaration
Objective-CFB_EXPORTint32_tFBAdViewBridgeSizeHeight90Banner(void)
SwiftfuncFBAdViewBridgeSizeHeight90Banner()->Int32
- Undocumented
Declaration
Objective-CFB_EXPORTint32_tFBAdViewBridgeSizeInterstital(void)
SwiftfuncFBAdViewBridgeSizeInterstital()->Int32
- Undocumented
Declaration
Objective-CFB_EXPORTint32_tFBAdViewBridgeSizeHeight250Rectangle(void)
SwiftfuncFBAdViewBridgeSizeHeight250Rectangle()->Int32
- Undocumented
Declaration
Objective-CFB_EXPORTint32_tFBAdViewBridgeCreate(charconst*placementID,FBAdViewBridgeSizesize)
SwiftfuncFBAdViewBridgeCreate(_placementID:UnsafePointer<Int8>!,_size:FBAdViewBridgeSize)->Int32
- Undocumented
Declaration
Objective-CFB_EXPORTint32_tFBAdViewBridgeLoad(int32_tuniqueId)
SwiftfuncFBAdViewBridgeLoad(_uniqueId:Int32)->Int32
- Undocumented
Declaration
Objective-CFB_EXPORTint32_tFBAdViewBridgeLoadWithBidPayload(int32_tuniqueId,char*bidPayload)
SwiftfuncFBAdViewBridgeLoadWithBidPayload(_uniqueId:Int32,_bidPayload:UnsafeMutablePointer<Int8>!)->Int32
- Undocumented
Declaration
Objective-CFB_EXPORTboolFBAdViewBridgeIsValid(int32_tuniqueId)
SwiftfuncFBAdViewBridgeIsValid(_uniqueId:Int32)->Bool
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBAdViewBridgeShow(int32_tuniqueId,doublex,doubley,doublewidth,doubleheight)
SwiftfuncFBAdViewBridgeShow(_uniqueId:Int32,_x:Double,_y:Double,_width:Double,_height:Double)
- Undocumented
Declaration
Objective-CFB_EXPORTcharconst*FBAdViewBridgeGetPlacementId(int32_tuniqueId)
SwiftfuncFBAdViewBridgeGetPlacementId(_uniqueId:Int32)->UnsafePointer<Int8>!
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBAdViewBridgeDisableAutoRefresh(int32_tuniqueId)
SwiftfuncFBAdViewBridgeDisableAutoRefresh(_uniqueId:Int32)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBAdViewBridgeSetExtraHints(int32_tuniqueId,charconst*extraHints)
SwiftfuncFBAdViewBridgeSetExtraHints(_uniqueId:Int32,_extraHints:UnsafePointer<Int8>!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBAdViewBridgeRelease(int32_tuniqueId)
SwiftfuncFBAdViewBridgeRelease(_uniqueId:Int32)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBAdViewBridgeOnLoad(int32_tuniqueId,FBAdBridgeCallbackcallback)
SwiftfuncFBAdViewBridgeOnLoad(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBAdViewBridgeOnImpression(int32_tuniqueId,FBAdBridgeCallbackcallback)
SwiftfuncFBAdViewBridgeOnImpression(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBAdViewBridgeOnClick(int32_tuniqueId,FBAdBridgeCallbackcallback)
SwiftfuncFBAdViewBridgeOnClick(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBAdViewBridgeOnError(int32_tuniqueId,FBAdBridgeErrorCallbackcallback)
SwiftfuncFBAdViewBridgeOnError(_uniqueId:Int32,_callback:FBAdBridgeErrorCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBAdViewBridgeOnFinishedClick(int32_tuniqueId,FBAdBridgeCallbackcallback)
SwiftfuncFBAdViewBridgeOnFinishedClick(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTint32_tFBInterstitialAdBridgeCreate(charconst*placementID)
SwiftfuncFBInterstitialAdBridgeCreate(_placementID:UnsafePointer<Int8>!)->Int32
- Undocumented
Declaration
Objective-CFB_EXPORTint32_tFBInterstitialAdBridgeLoad(int32_tuniqueId)
SwiftfuncFBInterstitialAdBridgeLoad(_uniqueId:Int32)->Int32
- Undocumented
Declaration
Objective-CFB_EXPORTint32_tFBInterstitialAdBridgeLoadWithBidPayload(int32_tuniqueId,char*bidPayload)
SwiftfuncFBInterstitialAdBridgeLoadWithBidPayload(_uniqueId:Int32,_bidPayload:UnsafeMutablePointer<Int8>!)->Int32
- Undocumented
Declaration
Objective-CFB_EXPORTboolFBInterstitialAdBridgeIsValid(int32_tuniqueId)
SwiftfuncFBInterstitialAdBridgeIsValid(_uniqueId:Int32)->Bool
- Undocumented
Declaration
Objective-CFB_EXPORTcharconst*FBInterstitialAdBridgeGetPlacementId(int32_tuniqueId)
SwiftfuncFBInterstitialAdBridgeGetPlacementId(_uniqueId:Int32)->UnsafePointer<Int8>!
- Undocumented
Declaration
Objective-CFB_EXPORTboolFBInterstitialAdBridgeShow(int32_tuniqueId)
SwiftfuncFBInterstitialAdBridgeShow(_uniqueId:Int32)->Bool
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBInterstitialAdBridgeSetExtraHints(int32_tuniqueId,charconst*extraHints)
SwiftfuncFBInterstitialAdBridgeSetExtraHints(_uniqueId:Int32,_extraHints:UnsafePointer<Int8>!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBInterstitialAdBridgeRelease(int32_tuniqueId)
SwiftfuncFBInterstitialAdBridgeRelease(_uniqueId:Int32)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBInterstitialAdBridgeOnLoad(int32_tuniqueId,FBAdBridgeCallbackcallback)
SwiftfuncFBInterstitialAdBridgeOnLoad(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBInterstitialAdBridgeOnImpression(int32_tuniqueId,FBAdBridgeCallbackcallback)
SwiftfuncFBInterstitialAdBridgeOnImpression(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBInterstitialAdBridgeOnClick(int32_tuniqueId,FBAdBridgeCallbackcallback)
SwiftfuncFBInterstitialAdBridgeOnClick(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBInterstitialAdBridgeOnError(int32_tuniqueId,FBAdBridgeErrorCallbackcallback)
SwiftfuncFBInterstitialAdBridgeOnError(_uniqueId:Int32,_callback:FBAdBridgeErrorCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBInterstitialAdBridgeOnDidClose(int32_tuniqueId,FBAdBridgeCallbackcallback)
SwiftfuncFBInterstitialAdBridgeOnDidClose(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBInterstitialAdBridgeOnWillClose(int32_tuniqueId,FBAdBridgeCallbackcallback)
SwiftfuncFBInterstitialAdBridgeOnWillClose(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTint32_tFBRewardedVideoAdBridgeCreate(charconst*placementID)
SwiftfuncFBRewardedVideoAdBridgeCreate(_placementID:UnsafePointer<Int8>!)->Int32
- Undocumented
Declaration
Objective-CFB_EXPORTint32_tFBRewardedVideoAdBridgeCreateWithReward(charconst*placementID,charconst*userID,charconst*currency)
SwiftfuncFBRewardedVideoAdBridgeCreateWithReward(_placementID:UnsafePointer<Int8>!,_userID:UnsafePointer<Int8>!,_currency:UnsafePointer<Int8>!)->Int32
- Undocumented
Declaration
Objective-CFB_EXPORTint32_tFBRewardedVideoAdBridgeLoad(int32_tuniqueId)
SwiftfuncFBRewardedVideoAdBridgeLoad(_uniqueId:Int32)->Int32
- Undocumented
Declaration
Objective-CFB_EXPORTint32_tFBRewardedVideoAdBridgeLoadWithBidPayload(int32_tuniqueId,char*bidPayload)
SwiftfuncFBRewardedVideoAdBridgeLoadWithBidPayload(_uniqueId:Int32,_bidPayload:UnsafeMutablePointer<Int8>!)->Int32
- Undocumented
Declaration
Objective-CFB_EXPORTboolFBRewardedVideoAdBridgeIsValid(int32_tuniqueId)
SwiftfuncFBRewardedVideoAdBridgeIsValid(_uniqueId:Int32)->Bool
- Undocumented
Declaration
Objective-CFB_EXPORTcharconst*FBRewardedVideoAdBridgeGetPlacementId(int32_tuniqueId)
SwiftfuncFBRewardedVideoAdBridgeGetPlacementId(_uniqueId:Int32)->UnsafePointer<Int8>!
- Undocumented
Declaration
Objective-CFB_EXPORTboolFBRewardedVideoAdBridgeShow(int32_tuniqueId)
SwiftfuncFBRewardedVideoAdBridgeShow(_uniqueId:Int32)->Bool
- Undocumented
Declaration
Objective-CFB_EXPORTboolFBRewardedVideoAdBridgeShowAnimated(int32_tuniqueId,boolisAnimated)
SwiftfuncFBRewardedVideoAdBridgeShowAnimated(_uniqueId:Int32,_isAnimated:Bool)->Bool
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBRewardedVideoAdBridgeSetExtraHints(int32_tuniqueId,charconst*extraHints)
SwiftfuncFBRewardedVideoAdBridgeSetExtraHints(_uniqueId:Int32,_extraHints:UnsafePointer<Int8>!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBRewardedVideoAdBridgeRelease(int32_tuniqueId)
SwiftfuncFBRewardedVideoAdBridgeRelease(_uniqueId:Int32)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBRewardedVideoAdBridgeOnLoad(int32_tuniqueId,FBAdBridgeCallbackcallback)
SwiftfuncFBRewardedVideoAdBridgeOnLoad(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBRewardedVideoAdBridgeOnImpression(int32_tuniqueId,FBAdBridgeCallbackcallback)
SwiftfuncFBRewardedVideoAdBridgeOnImpression(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBRewardedVideoAdBridgeOnClick(int32_tuniqueId,FBAdBridgeCallbackcallback)
SwiftfuncFBRewardedVideoAdBridgeOnClick(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBRewardedVideoAdBridgeOnError(int32_tuniqueId,FBAdBridgeErrorCallbackcallback)
SwiftfuncFBRewardedVideoAdBridgeOnError(_uniqueId:Int32,_callback:FBAdBridgeErrorCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBRewardedVideoAdBridgeOnDidClose(int32_tuniqueId,FBAdBridgeCallbackcallback)
SwiftfuncFBRewardedVideoAdBridgeOnDidClose(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBRewardedVideoAdBridgeOnWillClose(int32_tuniqueId,FBAdBridgeCallbackcallback)
SwiftfuncFBRewardedVideoAdBridgeOnWillClose(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBRewardedVideoAdBridgeOnVideoComplete(int32_tuniqueId,FBAdBridgeCallbackcallback)
SwiftfuncFBRewardedVideoAdBridgeOnVideoComplete(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBRewardedVideoAdBridgeOnServerRewardSuccess(int32_tuniqueId,FBAdBridgeCallbackcallback)
SwiftfuncFBRewardedVideoAdBridgeOnServerRewardSuccess(_uniqueId:Int32,_callback:FBAdBridgeCallback!)
- Undocumented
Declaration
Objective-CFB_EXPORTvoidFBRewardedVideoAdBridgeOnServerRewardFailure(int32_tuniqueId,FBAdBridgeCallbackcallback)
SwiftfuncFBRewardedVideoAdBridgeOnServerRewardFailure(_uniqueId:Int32,_callback:FBAdBridgeCallback!)