Class AttendeeCapabilities
- java.lang.Object
-
- software.amazon.awssdk.services.chimesdkmeetings.model.AttendeeCapabilities
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AttendeeCapabilities.Builder,AttendeeCapabilities>
@Generated("software.amazon.awssdk:codegen") public final class AttendeeCapabilities extends Object implements SdkPojo, Serializable, 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
SendReceivedata. 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAttendeeCapabilities.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MediaCapabilitiesaudio()The audio capability assigned to an attendee.StringaudioAsString()The audio capability assigned to an attendee.static AttendeeCapabilities.Builderbuilder()MediaCapabilitiescontent()The content capability assigned to an attendee.StringcontentAsString()The content capability assigned to an attendee.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AttendeeCapabilities.Builder>serializableBuilderClass()AttendeeCapabilities.BuildertoBuilder()StringtoString()Returns a string representation of this object.MediaCapabilitiesvideo()The video capability assigned to an attendee.StringvideoAsString()The video capability assigned to an attendee.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
audio
public final MediaCapabilities 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:
MediaCapabilities
-
audioAsString
public final String 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:
MediaCapabilities
-
video
public final MediaCapabilities 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:
MediaCapabilities
-
videoAsString
public final String 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:
MediaCapabilities
-
content
public final MediaCapabilities 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:
MediaCapabilities
-
contentAsString
public final String 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:
MediaCapabilities
-
toBuilder
public AttendeeCapabilities.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AttendeeCapabilities.Builder,AttendeeCapabilities>
-
builder
public static AttendeeCapabilities.Builder builder()
-
serializableBuilderClass
public static Class<? extends AttendeeCapabilities.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-