MoSync 3.3
Banner.h File Reference

Provides a widget that displays advertisement to the user. More...

#include <MAUtil/String.h>
#include <MAUtil/Vector.h>

Classes

class  Ads::Banner
 Provides a widget that displays advertisement to the user. When the user taps a banner, it triggers an action programmed into the advertisement. Your application is notified when an action starts or stops. The banner works with NativeUI library. The banner can be added only to a NativeUI layout object. More...

Namespaces

namespace  Ads
 

MoSync Advertising API.


Enumerations

enum  Ads::BannerSize {
  Ads::BANNER_SIZE_DEFAULT = 0, Ads::BANNER_SIZE_RECT, Ads::BANNER_SIZE_IAB, Ads::BANNER_SIZE_LEADERBOARD,
  Ads::BANNER_SIZE_WP7_XLARGE, Ads::BANNER_SIZE_WP7_XXLARGE
}
 Size constants for a banner. More...

Variables

const MAUtil::String Ads::TEST_EMULATOR = "TEST_EMULATOR"
 This string specifies the emulator as a device that will receive test ads.

Detailed Description

Provides a widget that displays advertisement to the user.

Author:
Emma Tresanszki and Bogdan Iusco
Date:
1 Nov 2011

When the user taps a banner, it triggers an action programmed into the advertisement. Your application is notified when an action starts or stops. The banner works with NativeUI library. The banner can be added only to a NativeUI layout object.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines