GoogleInteractiveMediaAds Framework Reference

Enumerations

The following enumerations are available globally.

  • Possible error types while loading or playing ads.

    Declaration

    Swift

      enum 
     IMAErrorType 
     : 
     Int 
     , 
     @unchecked 
     Sendable 
     
    

    Objective-C

      enum 
     IMAErrorType 
     : 
     NSInteger 
     {} 
     
    
  • Possible error codes raised while loading or playing ads.

    Declaration

    Swift

      enum 
     IMAErrorCode 
     : 
     Int 
     , 
     @unchecked 
     Sendable 
     
    

    Objective-C

      enum 
     IMAErrorCode 
     : 
     NSInteger 
     {} 
     
    
  • Different event types sent by the IMAAdsManager to its delegate.

    Declaration

    Swift

      enum 
     IMAAdEventType 
     : 
     Int 
     , 
     @unchecked 
     Sendable 
     
    

    Objective-C

      enum 
     IMAAdEventType 
     : 
     NSInteger 
     {} 
     
    
  • A list of purposes for which an obstruction would be registered as friendly.

    Declaration

    Swift

      enum 
     IMAFriendlyObstructionPurpose 
     : 
     UInt 
     , 
     @unchecked 
     Sendable 
     
    

    Objective-C

      enum 
     IMAFriendlyObstructionPurpose 
     : 
     NSUInteger 
     {} 
     
    
  • Different UI elements that can be customized.

    Declaration

    Swift

      enum 
     IMAUiElementType 
     : 
     Int 
     , 
     @unchecked 
     Sendable 
     
    

    Objective-C

      enum 
     IMAUiElementType 
     : 
     NSInteger 
     {} 
     
    
Design a Mobile Site
View Site in Mobile | Classic
Share by: