@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttendeeCapabilities extends Object implements Serializable, Cloneable, StructuredPojo
The media capabilities of an attendee: audio, video, or content.
You use the capabilities with a set of values that control what the capabilities can do, such as
SendReceive
data. For more information, refer to and .
When using capabilities, be aware of these corner cases:
If you specify MeetingFeatures:Video:MaxResolution:None
when you create a meeting, all API requests that
include SendReceive
, Send
, or Receive
for
AttendeeCapabilities:Video
will be rejected with ValidationError 400
.
If you specify MeetingFeatures:Content:MaxResolution:None
when you create a meeting, all API requests
that include SendReceive
, Send
, or Receive
for
AttendeeCapabilities:Content
will be rejected with ValidationError 400
.
You can't set content
capabilities to SendReceive
or Receive
unless you also
set video
capabilities to SendReceive
or Receive
. If you don't set the
video
capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you
can set your video
capability to receive and you set your content
capability to not
receive.
When you change an audio
capability from None
or Receive
to Send
or SendReceive
, and an attendee unmutes their microphone, audio flows from the attendee to the other
meeting participants.
When you change a video
or content
capability from None
or
Receive
to Send
or SendReceive
, and the attendee turns on their video or
content streams, remote attendees can receive those streams, but only after media renegotiation between the client
and the Amazon Chime back-end server.
Constructor and Description |
---|
AttendeeCapabilities() |
Modifier and Type | Method and Description |
---|---|
AttendeeCapabilities |
clone() |
boolean |
equals(Object obj) |
String |
getAudio()
The audio capability assigned to an attendee.
|
String |
getContent()
The content capability assigned to an attendee.
|
String |
getVideo()
The video capability assigned to an attendee.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAudio(String audio)
The audio capability assigned to an attendee.
|
void |
setContent(String content)
The content capability assigned to an attendee.
|
void |
setVideo(String video)
The video capability assigned to an attendee.
|
String |
toString()
Returns a string representation of this object.
|
AttendeeCapabilities |
withAudio(MediaCapabilities audio)
The audio capability assigned to an attendee.
|
AttendeeCapabilities |
withAudio(String audio)
The audio capability assigned to an attendee.
|
AttendeeCapabilities |
withContent(MediaCapabilities content)
The content capability assigned to an attendee.
|
AttendeeCapabilities |
withContent(String content)
The content capability assigned to an attendee.
|
AttendeeCapabilities |
withVideo(MediaCapabilities video)
The video capability assigned to an attendee.
|
AttendeeCapabilities |
withVideo(String video)
The video capability assigned to an attendee.
|
public void setAudio(String audio)
The audio capability assigned to an attendee.
audio
- The audio capability assigned to an attendee.MediaCapabilities
public String getAudio()
The audio capability assigned to an attendee.
MediaCapabilities
public AttendeeCapabilities withAudio(String audio)
The audio capability assigned to an attendee.
audio
- The audio capability assigned to an attendee.MediaCapabilities
public AttendeeCapabilities withAudio(MediaCapabilities audio)
The audio capability assigned to an attendee.
audio
- The audio capability assigned to an attendee.MediaCapabilities
public void setVideo(String video)
The video capability assigned to an attendee.
video
- The video capability assigned to an attendee.MediaCapabilities
public String getVideo()
The video capability assigned to an attendee.
MediaCapabilities
public AttendeeCapabilities withVideo(String video)
The video capability assigned to an attendee.
video
- The video capability assigned to an attendee.MediaCapabilities
public AttendeeCapabilities withVideo(MediaCapabilities video)
The video capability assigned to an attendee.
video
- The video capability assigned to an attendee.MediaCapabilities
public void setContent(String content)
The content capability assigned to an attendee.
content
- The content capability assigned to an attendee.MediaCapabilities
public String getContent()
The content capability assigned to an attendee.
MediaCapabilities
public AttendeeCapabilities withContent(String content)
The content capability assigned to an attendee.
content
- The content capability assigned to an attendee.MediaCapabilities
public AttendeeCapabilities withContent(MediaCapabilities content)
The content capability assigned to an attendee.
content
- The content capability assigned to an attendee.MediaCapabilities
public String toString()
toString
in class Object
Object.toString()
public AttendeeCapabilities clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.