public class ParseLiveStreamProcessNotificationResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
ParseLiveStreamProcessNotificationResponse() |
ParseLiveStreamProcessNotificationResponse(ParseLiveStreamProcessNotificationResponse source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
LiveStreamAiAnalysisResultInfo |
getAiAnalysisResultInfo()
Get Content analysis result, which is valid if `NotificationType` is `AiAnalysisResult`.
|
LiveStreamAiQualityControlResultInfo |
getAiQualityControlResultInfo()
Get Media quality inspection result, which is valid if `NotificationType` is `AiQualityControlResult`.
|
LiveStreamAiRecognitionResultInfo |
getAiRecognitionResultInfo()
Get Content recognition result, which is valid if `NotificationType` is `AiRecognitionResult`.
|
LiveStreamAiReviewResultInfo |
getAiReviewResultInfo()
Get Content audit result, which is valid when `NotificationType` is `AiReviewResult`.
|
LiveStreamRecordResultInfo |
getLiveRecordResultInfo()
Get Live recording result is valid when NotificationType is LiveRecordResult.
|
String |
getNotificationType()
Get Live stream processing result type, including:
AiReviewResult: content auditing result.
AiRecognitionResult: content recognition result.
LiveRecordResult: live recording result.
AiQualityControlResult: media quality inspection result.
ProcessEof: live stream processing result.
|
LiveStreamProcessErrorInfo |
getProcessEofInfo()
Get Information of a live stream processing error, which is valid when `NotificationType` is `ProcessEof`.
|
String |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
String |
getSessionContext()
Get The source context which is used to pass through the user request information.
|
String |
getSessionId()
Get The ID used for deduplication.
|
String |
getSign()
Get Event notification security signature.
|
String |
getTaskId()
Get Video processing task ID.
|
Long |
getTimestamp()
Get - Expiration time, event notification signature expiration UNIX timestamp.
|
void |
setAiAnalysisResultInfo(LiveStreamAiAnalysisResultInfo AiAnalysisResultInfo)
Set Content analysis result, which is valid if `NotificationType` is `AiAnalysisResult`.
|
void |
setAiQualityControlResultInfo(LiveStreamAiQualityControlResultInfo AiQualityControlResultInfo)
Set Media quality inspection result, which is valid if `NotificationType` is `AiQualityControlResult`.
|
void |
setAiRecognitionResultInfo(LiveStreamAiRecognitionResultInfo AiRecognitionResultInfo)
Set Content recognition result, which is valid if `NotificationType` is `AiRecognitionResult`.
|
void |
setAiReviewResultInfo(LiveStreamAiReviewResultInfo AiReviewResultInfo)
Set Content audit result, which is valid when `NotificationType` is `AiReviewResult`.
|
void |
setLiveRecordResultInfo(LiveStreamRecordResultInfo LiveRecordResultInfo)
Set Live recording result is valid when NotificationType is LiveRecordResult.
|
void |
setNotificationType(String NotificationType)
Set Live stream processing result type, including:
AiReviewResult: content auditing result.
AiRecognitionResult: content recognition result.
LiveRecordResult: live recording result.
AiQualityControlResult: media quality inspection result.
ProcessEof: live stream processing result.
|
void |
setProcessEofInfo(LiveStreamProcessErrorInfo ProcessEofInfo)
Set Information of a live stream processing error, which is valid when `NotificationType` is `ProcessEof`.
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setSessionContext(String SessionContext)
Set The source context which is used to pass through the user request information.
|
void |
setSessionId(String SessionId)
Set The ID used for deduplication.
|
void |
setSign(String Sign)
Set Event notification security signature.
|
void |
setTaskId(String TaskId)
Set Video processing task ID.
|
void |
setTimestamp(Long Timestamp)
Set - Expiration time, event notification signature expiration UNIX timestamp.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ParseLiveStreamProcessNotificationResponse()
public ParseLiveStreamProcessNotificationResponse(ParseLiveStreamProcessNotificationResponse source)
public String getNotificationType()
public void setNotificationType(String NotificationType)
NotificationType
- Live stream processing result type, including:
public String getTaskId()
public void setTaskId(String TaskId)
TaskId
- Video processing task ID.public LiveStreamProcessErrorInfo getProcessEofInfo()
public void setProcessEofInfo(LiveStreamProcessErrorInfo ProcessEofInfo)
ProcessEofInfo
- Information of a live stream processing error, which is valid when `NotificationType` is `ProcessEof`.
Note: when this field return null, means no valid values can be obtained.public LiveStreamAiReviewResultInfo getAiReviewResultInfo()
public void setAiReviewResultInfo(LiveStreamAiReviewResultInfo AiReviewResultInfo)
AiReviewResultInfo
- Content audit result, which is valid when `NotificationType` is `AiReviewResult`.
Note: when this field return null, means no valid values can be obtained.public LiveStreamAiRecognitionResultInfo getAiRecognitionResultInfo()
public void setAiRecognitionResultInfo(LiveStreamAiRecognitionResultInfo AiRecognitionResultInfo)
AiRecognitionResultInfo
- Content recognition result, which is valid if `NotificationType` is `AiRecognitionResult`.public LiveStreamAiAnalysisResultInfo getAiAnalysisResultInfo()
public void setAiAnalysisResultInfo(LiveStreamAiAnalysisResultInfo AiAnalysisResultInfo)
AiAnalysisResultInfo
- Content analysis result, which is valid if `NotificationType` is `AiAnalysisResult`.public LiveStreamAiQualityControlResultInfo getAiQualityControlResultInfo()
public void setAiQualityControlResultInfo(LiveStreamAiQualityControlResultInfo AiQualityControlResultInfo)
AiQualityControlResultInfo
- Media quality inspection result, which is valid if `NotificationType` is `AiQualityControlResult`.public LiveStreamRecordResultInfo getLiveRecordResultInfo()
public void setLiveRecordResultInfo(LiveStreamRecordResultInfo LiveRecordResultInfo)
LiveRecordResultInfo
- Live recording result is valid when NotificationType is LiveRecordResult.
Note: when this field return null, means no valid values can be obtained.public String getSessionId()
public void setSessionId(String SessionId)
SessionId
- The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext
- The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.public Long getTimestamp()
public void setTimestamp(Long Timestamp)
Timestamp
- - Expiration time, event notification signature expiration UNIX timestamp. - By default, notifications sent by MPS expire after 10 minutes. If the expiration time specified has elapsed, a notification will be considered invalid. This can prevent replay attacks. - The format of Timestamp is a decimal UNIX timestamp, which is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
Note: This field may return null, indicating that no valid value can be obtained.public String getSign()
public void setSign(String Sign)
Sign
- Event notification security signature. Sign = MD5 (Timestamp + NotifyKey). Note: Media Processing Service concatenates Timestamp and NotifyKey from TaskNotifyConfig as a string and calculates the Sign value through MD5. This value is included in the notification message. Your backend server can verify whether the Sign is correct using the same algorithm, to confirm whether the message is indeed from the Media Processing Service backend.
Note: This field may return null, indicating that no valid value can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2025. All rights reserved.