POBNativeAdImageResponseAsset Class Reference
| Inherits from | POBNativeAdResponseAsset : NSObject |
|---|---|
| Declared in | POBNativeAdImageResponseAsset.h |
width
Integer Maximal width of the image in pixels.
@property (nonatomic, readonly, assign) NSInteger widthDeclared In
POBNativeAdImageResponseAsset.h
height
Integer Maximal height of the image in pixels.
@property (nonatomic, readonly, assign) NSInteger heightDeclared In
POBNativeAdImageResponseAsset.h
imageURL
NSURL Represents url from where image is to be downloaded.
@property (nonatomic, readonly, strong) NSString *imageURLDeclared In
POBNativeAdImageResponseAsset.h
type
Integer Type of the image. Possible values:
- POBNativeImageAssetTypeIcon,
- POBNativeImageAssetTypeMain
@property (nonatomic, readonly, assign) POBNativeImageAssetType typeSee Also
Declared In
POBNativeAdImageResponseAsset.h
– initWithType:width:height:url:builder:
Initializes POBNativeAdImageResponseAsset object with given details
- (instancetype)initWithType:(POBNativeImageAssetType)type width:(NSInteger)width height:(NSInteger)height url:(NSString *)imageURL builder:(POBNativeAdResponseAssetBuilder *)builderParameters
type |
Type of the image. |
|---|---|
width |
Maxiaml width of the image in pixels |
height |
Maximal height of the image in pixels |
imageURL |
Represents url from where image is to be downloaded. |
builder |
Builder to build the POBNativeAdImageResponseAsset |
Return Value
Instance of POBNativeAdImageResponseAsset
Declared In
POBNativeAdImageResponseAsset.h