合作咨询
我们的专家服务团队将竭诚为您提供专业的合作咨询服务
HMS Core
Class Info |
|---|
public class NativeAdConfiguration extends Object 广告的配置。 |
Qualifier and Type | Class Name and Description |
|---|---|
static final class | 广告配置的构造器。 |
static interface | NativeAdConfiguration.ChoicesPosition 广告选项图标位置常量。 |
static interface | NativeAdConfiguration.Direction 图片方向常量。 |
static interface | NativeAdConfiguration.MediaAspect 图片宽高比常量。 |
Qualifier and Type | Method Name and Description |
|---|---|
| 获取请求广告的尺寸。 | |
int | 获取广告选项图标的位置。 |
int | 获取广告图片的比例。 |
int | 获取广告的图片方向。 |
| 获取视频的配置信息。 | |
boolean | 是否获取多张广告图片。 |
boolean | 是否让SDK下载原生广告的图片。 |
Method |
|---|
public final int getChoicesPosition() 获取广告选项图标的位置。 |
Returns
Type | Description |
|---|---|
int | 广告选项图标的位置。 |
Method |
|---|
public final int getMediaAspect() 获取广告图片的比例。 |
Returns
Type | Description |
|---|---|
int | 图片的比例。 |
Method |
|---|
public final int getMediaDirection() 获取广告的图片方向。 |
Returns
Type | Description |
|---|---|
int | 图片方向。 |
Method |
|---|
public final VideoConfiguration getVideoConfiguration() 获取视频的配置信息。 |
Returns
Type | Description |
|---|---|
视频的配置信息。 |
Method |
|---|
public final boolean isRequestMultiImages() 是否获取多张广告图片。 |
Returns
Type | Description |
|---|---|
boolean | 是否获取多张广告图片:
|
Method |
|---|
public final boolean isReturnUrlsForImages() 是否返回原生广告图片的下载URL。 |
Returns
Type | Description |
|---|---|
boolean | 是否返回原生广告图片的下载URL:
|
合作咨询
我们的专家服务团队将竭诚为您提供专业的合作咨询服务
解决方案
精准高效的一站式服务支持,助力开发者商业成功