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 width
Declared In
POBNativeAdImageResponseAsset.h
height
Integer Maximal height of the image in pixels.
@property (nonatomic, readonly, assign) NSInteger height
Declared In
POBNativeAdImageResponseAsset.h
imageURL
NSURL Represents url from where image is to be downloaded.
@property (nonatomic, readonly, strong) NSString *imageURL
Declared In
POBNativeAdImageResponseAsset.h
type
Integer Type of the image. Possible values:
- POBNativeImageAssetTypeIcon,
- POBNativeImageAssetTypeMain
@property (nonatomic, readonly, assign) POBNativeImageAssetType type
See 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 *)builder
Parameters
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