Class AttendeeCapabilities
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AttendeeCapabilities.Builder,
AttendeeCapabilities>
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 includeSendReceive
,Send
, orReceive
forAttendeeCapabilities:Video
will be rejected withValidationError 400
. -
If you specify
MeetingFeatures:Content:MaxResolution:None
when you create a meeting, all API requests that includeSendReceive
,Send
, orReceive
forAttendeeCapabilities:Content
will be rejected withValidationError 400
. -
You can't set
content
capabilities toSendReceive
orReceive
unless you also setvideo
capabilities toSendReceive
orReceive
. If you don't set thevideo
capability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set yourvideo
capability to receive and you set yourcontent
capability to not receive. -
When you change an
audio
capability fromNone
orReceive
toSend
orSendReceive
, and an attendee unmutes their microphone, audio flows from the attendee to the other meeting participants. -
When you change a
video
orcontent
capability fromNone
orReceive
toSend
orSendReceive
, 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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal MediaCapabilities
audio()
The audio capability assigned to an attendee.final String
The audio capability assigned to an attendee.static AttendeeCapabilities.Builder
builder()
final MediaCapabilities
content()
The content capability assigned to an attendee.final String
The content capability assigned to an attendee.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
static Class
<? extends AttendeeCapabilities.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final MediaCapabilities
video()
The video capability assigned to an attendee.final String
The video capability assigned to an attendee.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
audio
The audio capability assigned to an attendee.
If the service returns an enum value that is not available in the current SDK version,
audio
will returnMediaCapabilities.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromaudioAsString()
.- Returns:
- The audio capability assigned to an attendee.
- See Also:
-
audioAsString
The audio capability assigned to an attendee.
If the service returns an enum value that is not available in the current SDK version,
audio
will returnMediaCapabilities.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromaudioAsString()
.- Returns:
- The audio capability assigned to an attendee.
- See Also:
-
video
The video capability assigned to an attendee.
If the service returns an enum value that is not available in the current SDK version,
video
will returnMediaCapabilities.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromvideoAsString()
.- Returns:
- The video capability assigned to an attendee.
- See Also:
-
videoAsString
The video capability assigned to an attendee.
If the service returns an enum value that is not available in the current SDK version,
video
will returnMediaCapabilities.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromvideoAsString()
.- Returns:
- The video capability assigned to an attendee.
- See Also:
-
content
The content capability assigned to an attendee.
If the service returns an enum value that is not available in the current SDK version,
content
will returnMediaCapabilities.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcontentAsString()
.- Returns:
- The content capability assigned to an attendee.
- See Also:
-
contentAsString
The content capability assigned to an attendee.
If the service returns an enum value that is not available in the current SDK version,
content
will returnMediaCapabilities.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcontentAsString()
.- Returns:
- The content capability assigned to an attendee.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AttendeeCapabilities.Builder,
AttendeeCapabilities> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-