Class FragmentAckType
- java.lang.Object
-
- com.amazonaws.kinesisvideo.producer.FragmentAckType
-
public class FragmentAckType extends Object
Definition of the Kinesis Video Fragment ACK type. NOTE: This structure must be the same as defined in /client/Include.h- See Also:
- PutMedia API
-
-
Field Summary
Fields Modifier and Type Field Description static intFRAGMENT_ACK_TYPE_BUFFERINGFragment started buffering on the ingestion hoststatic intFRAGMENT_ACK_TYPE_ERRORFragment erroredstatic intFRAGMENT_ACK_TYPE_IDLEIdle ACK to keep alivestatic intFRAGMENT_ACK_TYPE_PERSISTEDFragment has been persistedstatic intFRAGMENT_ACK_TYPE_RECEIVEDFragment has been received and parsedstatic intFRAGMENT_ACK_TYPE_UNDEFINEDAck type undefined or not specified.
-
Constructor Summary
Constructors Constructor Description FragmentAckType(int type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIntType()Returns the type as an integer which can be consumed by the native layerStringtoString()
-
-
-
Field Detail
-
FRAGMENT_ACK_TYPE_UNDEFINED
public static final int FRAGMENT_ACK_TYPE_UNDEFINED
Ack type undefined or not specified. Used as a sentinel- See Also:
- Constant Field Values
-
FRAGMENT_ACK_TYPE_BUFFERING
public static final int FRAGMENT_ACK_TYPE_BUFFERING
Fragment started buffering on the ingestion host- See Also:
- Constant Field Values
-
FRAGMENT_ACK_TYPE_RECEIVED
public static final int FRAGMENT_ACK_TYPE_RECEIVED
Fragment has been received and parsed- See Also:
- Constant Field Values
-
FRAGMENT_ACK_TYPE_PERSISTED
public static final int FRAGMENT_ACK_TYPE_PERSISTED
Fragment has been persisted- See Also:
- Constant Field Values
-
FRAGMENT_ACK_TYPE_ERROR
public static final int FRAGMENT_ACK_TYPE_ERROR
Fragment errored- See Also:
- Constant Field Values
-
FRAGMENT_ACK_TYPE_IDLE
public static final int FRAGMENT_ACK_TYPE_IDLE
Idle ACK to keep alive- See Also:
- Constant Field Values
-
-
Method Detail
-
getIntType
public int getIntType()
Returns the type as an integer which can be consumed by the native layer
-
toString
public String toString()
- Overrides:
toStringin classObject- Returns:
- a string representation of the acknowledgement type
- See Also:
- PutMedia API
-
-