azure-docs-sdk-java/docs-ref-autogen/com.azure.communication.roo...

76 строки
5.5 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.communication.rooms.models.RoomParticipant"
fullName: "com.azure.communication.rooms.models.RoomParticipant"
name: "RoomParticipant"
nameWithType: "RoomParticipant"
summary: "The Room<wbr>Participant model."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **RoomParticipant**"
constructors:
- uid: "com.azure.communication.rooms.models.RoomParticipant.RoomParticipant(com.azure.communication.common.CommunicationIdentifier)"
fullName: "com.azure.communication.rooms.models.RoomParticipant.RoomParticipant(CommunicationIdentifier communicationIdentifier)"
name: "RoomParticipant(CommunicationIdentifier communicationIdentifier)"
nameWithType: "RoomParticipant.RoomParticipant(CommunicationIdentifier communicationIdentifier)"
summary: "Default constructor for Room Participant."
parameters:
- description: "The communication identifier."
name: "communicationIdentifier"
type: "<xref href=\"com.azure.communication.common.CommunicationIdentifier?alt=com.azure.communication.common.CommunicationIdentifier&text=CommunicationIdentifier\" data-throw-if-not-resolved=\"False\" />"
syntax: "public RoomParticipant(CommunicationIdentifier communicationIdentifier)"
desc: "Default constructor for Room Participant. Default role is Attendee"
methods:
- uid: "com.azure.communication.rooms.models.RoomParticipant.getCommunicationIdentifier()"
fullName: "com.azure.communication.rooms.models.RoomParticipant.getCommunicationIdentifier()"
name: "getCommunicationIdentifier()"
nameWithType: "RoomParticipant.getCommunicationIdentifier()"
summary: "Get the communication<wbr>Identifier property: Identifies a participant in Azure Communication services."
syntax: "public CommunicationIdentifier getCommunicationIdentifier()"
desc: "Get the communicationIdentifier property: Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model must be interpreted as a union: Apart from rawId, at most one further property may be set."
returns:
description: "the communicationIdentifier value."
type: "<xref href=\"com.azure.communication.common.CommunicationIdentifier?alt=com.azure.communication.common.CommunicationIdentifier&text=CommunicationIdentifier\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.rooms.models.RoomParticipant.getRole()"
fullName: "com.azure.communication.rooms.models.RoomParticipant.getRole()"
name: "getRole()"
nameWithType: "RoomParticipant.getRole()"
summary: "Get the role property: The Role of a room participant."
syntax: "public ParticipantRole getRole()"
desc: "Get the role property: The Role of a room participant."
returns:
description: "the role value."
type: "<xref href=\"com.azure.communication.rooms.models.ParticipantRole?alt=com.azure.communication.rooms.models.ParticipantRole&text=ParticipantRole\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.rooms.models.RoomParticipant.setRole(com.azure.communication.rooms.models.ParticipantRole)"
fullName: "com.azure.communication.rooms.models.RoomParticipant.setRole(ParticipantRole role)"
name: "setRole(ParticipantRole role)"
nameWithType: "RoomParticipant.setRole(ParticipantRole role)"
summary: "Set the role property: The role of a room participant."
parameters:
- description: "the role value to set."
name: "role"
type: "<xref href=\"com.azure.communication.rooms.models.ParticipantRole?alt=com.azure.communication.rooms.models.ParticipantRole&text=ParticipantRole\" data-throw-if-not-resolved=\"False\" />"
syntax: "public RoomParticipant setRole(ParticipantRole role)"
desc: "Set the role property: The role of a room participant. The default value is Attendee."
returns:
description: "the RoomParticipant object itself."
type: "<xref href=\"com.azure.communication.rooms.models.RoomParticipant?alt=com.azure.communication.rooms.models.RoomParticipant&text=RoomParticipant\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The RoomParticipant model."
metadata: {}
package: "com.azure.communication.rooms.models"
artifact: com.azure:azure-communication-rooms:1.1.7