azure-docs-sdk-java/legacy/docs-ref-autogen/com.azure.communication.net...

58 строки
4.4 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.communication.networktraversal.models.CommunicationRelayConfiguration"
fullName: "com.azure.communication.networktraversal.models.CommunicationRelayConfiguration"
name: "CommunicationRelayConfiguration"
nameWithType: "CommunicationRelayConfiguration"
summary: "A relay configuration containing the STUN/TURN URLs and credentials."
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 **CommunicationRelayConfiguration**"
constructors:
- uid: "com.azure.communication.networktraversal.models.CommunicationRelayConfiguration.CommunicationRelayConfiguration()"
fullName: "com.azure.communication.networktraversal.models.CommunicationRelayConfiguration.CommunicationRelayConfiguration()"
name: "CommunicationRelayConfiguration()"
nameWithType: "CommunicationRelayConfiguration.CommunicationRelayConfiguration()"
summary: "Default constructor for Communication<wbr>Relay<wbr>Configuration."
syntax: "public CommunicationRelayConfiguration()"
desc: "Default constructor for CommunicationRelayConfiguration."
methods:
- uid: "com.azure.communication.networktraversal.models.CommunicationRelayConfiguration.getExpiresOn()"
fullName: "com.azure.communication.networktraversal.models.CommunicationRelayConfiguration.getExpiresOn()"
name: "getExpiresOn()"
nameWithType: "CommunicationRelayConfiguration.getExpiresOn()"
summary: "Get the expires<wbr>On property: The date for which the username and credentials are not longer valid."
syntax: "public OffsetDateTime getExpiresOn()"
desc: "Get the expiresOn property: The date for which the username and credentials are not longer valid. Will be 48 hours from request time."
returns:
description: "the expiresOn value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
- uid: "com.azure.communication.networktraversal.models.CommunicationRelayConfiguration.getIceServers()"
fullName: "com.azure.communication.networktraversal.models.CommunicationRelayConfiguration.getIceServers()"
name: "getIceServers()"
nameWithType: "CommunicationRelayConfiguration.getIceServers()"
summary: "Get the ice<wbr>Servers property: An array representing the credentials and the STUN/TURN server URLs for use in ICE negotiations."
syntax: "public List<CommunicationIceServer> getIceServers()"
desc: "Get the iceServers property: An array representing the credentials and the STUN/TURN server URLs for use in ICE negotiations."
returns:
description: "the iceServers value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.communication.networktraversal.models.CommunicationIceServer?alt=com.azure.communication.networktraversal.models.CommunicationIceServer&text=CommunicationIceServer\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
desc: "A relay configuration containing the STUN/TURN URLs and credentials."
metadata: {}
package: "com.azure.communication.networktraversal.models"
artifact: com.azure:azure-communication-networktraversal:1.1.0