public static final class GetTimingSyntheticTaskResponseBody.Stream.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
GetTimingSyntheticTaskResponseBody.Stream |
build() |
GetTimingSyntheticTaskResponseBody.Stream.Builder |
customHeaderContent(Map<String,String> customHeaderContent)
Custom header, JSON Map format.
|
GetTimingSyntheticTaskResponseBody.Stream.Builder |
playerType(Integer playerType)
Player, default is 12 if not specified.
|
GetTimingSyntheticTaskResponseBody.Stream.Builder |
streamAddressType(Integer streamAddressType)
Resource address type:
- 1: Resource address
|
GetTimingSyntheticTaskResponseBody.Stream.Builder |
streamMonitorTimeout(Integer streamMonitorTimeout)
Monitoring duration, in seconds, supports up to 60 seconds.
|
GetTimingSyntheticTaskResponseBody.Stream.Builder |
streamType(Integer streamType)
Audio and video flag:
- 0: video
- 1: audio
|
GetTimingSyntheticTaskResponseBody.Stream.Builder |
targetUrl(String targetUrl)
Streaming media resource address.
|
GetTimingSyntheticTaskResponseBody.Stream.Builder |
whiteList(String whiteList)
DNS hijacking whitelist.
|
public GetTimingSyntheticTaskResponseBody.Stream.Builder customHeaderContent(Map<String,String> customHeaderContent)
public GetTimingSyntheticTaskResponseBody.Stream.Builder playerType(Integer playerType)
- 12: VLC - 2: Flash Player
public GetTimingSyntheticTaskResponseBody.Stream.Builder streamAddressType(Integer streamAddressType)
- 1: Resource address. - 0: Page address. If not passed, the default value is 0.
public GetTimingSyntheticTaskResponseBody.Stream.Builder streamMonitorTimeout(Integer streamMonitorTimeout)
public GetTimingSyntheticTaskResponseBody.Stream.Builder streamType(Integer streamType)
- 0: video - 1: audio
public GetTimingSyntheticTaskResponseBody.Stream.Builder targetUrl(String targetUrl)
public GetTimingSyntheticTaskResponseBody.Stream.Builder whiteList(String whiteList)
public GetTimingSyntheticTaskResponseBody.Stream build()
Copyright © 2024. All rights reserved.