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:Nonewhen you create a meeting, all API requests that includeSendReceive,Send, orReceiveforAttendeeCapabilities:Videowill be rejected withValidationError 400. -
If you specify
MeetingFeatures:Content:MaxResolution:Nonewhen you create a meeting, all API requests that includeSendReceive,Send, orReceiveforAttendeeCapabilities:Contentwill be rejected withValidationError 400. -
You can't set
contentcapabilities toSendReceiveorReceiveunless you also setvideocapabilities toSendReceiveorReceive. If you don't set thevideocapability to receive, the response will contain an HTTP 400 Bad Request status code. However, you can set yourvideocapability to receive and you set yourcontentcapability to not receive. -
When you change an
audiocapability fromNoneorReceivetoSendorSendReceive, and an attendee unmutes their microphone, audio flows from the attendee to the other meeting participants. -
When you change a
videoorcontentcapability fromNoneorReceivetoSendorSendReceive, 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 MediaCapabilitiesaudio()The audio capability assigned to an attendee.final StringThe audio capability assigned to an attendee.static AttendeeCapabilities.Builderbuilder()final MediaCapabilitiescontent()The content capability assigned to an attendee.final StringThe content capability assigned to an attendee.final booleanfinal booleanequalsBySdkFields(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 inthashCode()static Class<? extends AttendeeCapabilities.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final MediaCapabilitiesvideo()The video capability assigned to an attendee.final StringThe 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,
audiowill 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,
audiowill 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,
videowill 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,
videowill 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,
contentwill 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,
contentwill 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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AttendeeCapabilities.Builder,AttendeeCapabilities> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-