RealtimeMessageAckAudioDetails

class oci.ai_speech.models.RealtimeMessageAckAudioDetails(**kwargs)

Bases: object

Details object for the websocket ack message received from service.

Methods:

__init__(**kwargs)

Initializes a new RealtimeMessageAckAudioDetails object with values from keyword arguments.

Attributes:

length

[Required] Gets the length of this RealtimeMessageAckAudioDetails.

number

[Required] Gets the number of this RealtimeMessageAckAudioDetails.

offset

[Required] Gets the offset of this RealtimeMessageAckAudioDetails.

__init__(**kwargs)

Initializes a new RealtimeMessageAckAudioDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • number (int) – The value to assign to the number property of this RealtimeMessageAckAudioDetails.

  • offset (int) – The value to assign to the offset property of this RealtimeMessageAckAudioDetails.

  • length (int) – The value to assign to the length property of this RealtimeMessageAckAudioDetails.

property length

[Required] Gets the length of this RealtimeMessageAckAudioDetails. Length in bytes of the acknowledged packet.

Returns

The length of this RealtimeMessageAckAudioDetails.

Return type

int

property number

[Required] Gets the number of this RealtimeMessageAckAudioDetails. Sequence number of the acknowledged packet.

Returns

The number of this RealtimeMessageAckAudioDetails.

Return type

int

property offset

[Required] Gets the offset of this RealtimeMessageAckAudioDetails. Offset of the acknowledged packet.

Returns

The offset of this RealtimeMessageAckAudioDetails.

Return type

int