public static class Event.APIRequestCreateLiveVideo extends APIRequest<LiveVideo>
APIRequest.DefaultAsyncRequestExecutor, APIRequest.DefaultRequestExecutor, APIRequest.IAsyncRequestExecutor, APIRequest.IRequestExecutor, APIRequest.RequestHelper, APIRequest.ResponseParser<T extends APINode>, APIRequest.ResponseWrapper
Modifier and Type | Field and Description |
---|---|
static String[] |
FIELDS |
static String[] |
PARAMS |
context, endpoint, method, nodeId, paramNames, params, parser, returnFields, USER_AGENT, useVideoEndpoint
Constructor and Description |
---|
APIRequestCreateLiveVideo(String nodeId,
APIContext context) |
addToBatch, addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternal, setUseVideoEndpoint
public APIRequestCreateLiveVideo(String nodeId, APIContext context)
public LiveVideo getLastResponse()
getLastResponse
in class APIRequest<LiveVideo>
public LiveVideo parseResponse(String response, String header) throws APIException
parseResponse
in class APIRequest<LiveVideo>
APIException
public LiveVideo execute() throws APIException
execute
in class APIRequest<LiveVideo>
APIException
public LiveVideo execute(Map<String,Object> extraParams) throws APIException
execute
in class APIRequest<LiveVideo>
APIException
public com.google.common.util.concurrent.ListenableFuture<LiveVideo> executeAsync() throws APIException
APIException
public com.google.common.util.concurrent.ListenableFuture<LiveVideo> executeAsync(Map<String,Object> extraParams) throws APIException
APIException
public Event.APIRequestCreateLiveVideo setParam(String param, Object value)
setParam
in class APIRequest<LiveVideo>
public Event.APIRequestCreateLiveVideo setParams(Map<String,Object> params)
setParams
in class APIRequest<LiveVideo>
public Event.APIRequestCreateLiveVideo setContentTags(List<String> contentTags)
public Event.APIRequestCreateLiveVideo setContentTags(String contentTags)
public Event.APIRequestCreateLiveVideo setDescription(String description)
public Event.APIRequestCreateLiveVideo setEncodingSettings(String encodingSettings)
public Event.APIRequestCreateLiveVideo setFisheyeVideoCropped(Boolean fisheyeVideoCropped)
public Event.APIRequestCreateLiveVideo setFisheyeVideoCropped(String fisheyeVideoCropped)
public Event.APIRequestCreateLiveVideo setFrontZRotation(Double frontZRotation)
public Event.APIRequestCreateLiveVideo setFrontZRotation(String frontZRotation)
public Event.APIRequestCreateLiveVideo setIsAudioOnly(Boolean isAudioOnly)
public Event.APIRequestCreateLiveVideo setIsAudioOnly(String isAudioOnly)
public Event.APIRequestCreateLiveVideo setIsSpherical(Boolean isSpherical)
public Event.APIRequestCreateLiveVideo setIsSpherical(String isSpherical)
public Event.APIRequestCreateLiveVideo setLiveEncoders(List<String> liveEncoders)
public Event.APIRequestCreateLiveVideo setLiveEncoders(String liveEncoders)
public Event.APIRequestCreateLiveVideo setOriginalFov(Long originalFov)
public Event.APIRequestCreateLiveVideo setOriginalFov(String originalFov)
public Event.APIRequestCreateLiveVideo setPlannedStartTime(Long plannedStartTime)
public Event.APIRequestCreateLiveVideo setPlannedStartTime(String plannedStartTime)
public Event.APIRequestCreateLiveVideo setPrivacy(String privacy)
public Event.APIRequestCreateLiveVideo setProjection(LiveVideo.EnumProjection projection)
public Event.APIRequestCreateLiveVideo setProjection(String projection)
public Event.APIRequestCreateLiveVideo setPublished(Boolean published)
public Event.APIRequestCreateLiveVideo setPublished(String published)
public Event.APIRequestCreateLiveVideo setScheduleCustomProfileImage(File scheduleCustomProfileImage)
public Event.APIRequestCreateLiveVideo setScheduleCustomProfileImage(String scheduleCustomProfileImage)
public Event.APIRequestCreateLiveVideo setSpatialAudioFormat(LiveVideo.EnumSpatialAudioFormat spatialAudioFormat)
public Event.APIRequestCreateLiveVideo setSpatialAudioFormat(String spatialAudioFormat)
public Event.APIRequestCreateLiveVideo setStatus(LiveVideo.EnumStatus status)
public Event.APIRequestCreateLiveVideo setStatus(String status)
public Event.APIRequestCreateLiveVideo setStereoscopicMode(LiveVideo.EnumStereoscopicMode stereoscopicMode)
public Event.APIRequestCreateLiveVideo setStereoscopicMode(String stereoscopicMode)
public Event.APIRequestCreateLiveVideo setStopOnDeleteStream(Boolean stopOnDeleteStream)
public Event.APIRequestCreateLiveVideo setStopOnDeleteStream(String stopOnDeleteStream)
public Event.APIRequestCreateLiveVideo setStreamType(LiveVideo.EnumStreamType streamType)
public Event.APIRequestCreateLiveVideo setStreamType(String streamType)
public Event.APIRequestCreateLiveVideo setTitle(String title)
public Event.APIRequestCreateLiveVideo requestAllFields()
public Event.APIRequestCreateLiveVideo requestAllFields(boolean value)
public Event.APIRequestCreateLiveVideo requestFields(List<String> fields)
requestFields
in class APIRequest<LiveVideo>
public Event.APIRequestCreateLiveVideo requestFields(List<String> fields, boolean value)
requestFields
in class APIRequest<LiveVideo>
public Event.APIRequestCreateLiveVideo requestField(String field)
requestField
in class APIRequest<LiveVideo>
public Event.APIRequestCreateLiveVideo requestField(String field, boolean value)
requestField
in class APIRequest<LiveVideo>
Copyright © 2020. All rights reserved.