116 строки
9.5 KiB
YAML
116 строки
9.5 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.communication.sms.SmsAsyncClient"
|
|
fullName: "com.azure.communication.sms.SmsAsyncClient"
|
|
name: "SmsAsyncClient"
|
|
nameWithType: "SmsAsyncClient"
|
|
summary: "Async client for sending SMS messages with Azure Communication SMS Service."
|
|
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 **SmsAsyncClient**"
|
|
methods:
|
|
- uid: "com.azure.communication.sms.SmsAsyncClient.send(java.lang.String,java.lang.Iterable<java.lang.String>,java.lang.String)"
|
|
fullName: "com.azure.communication.sms.SmsAsyncClient.send(String from, Iterable<String> to, String message)"
|
|
name: "send(String from, Iterable<String> to, String message)"
|
|
nameWithType: "SmsAsyncClient.send(String from, Iterable<String> to, String message)"
|
|
summary: "Sends an SMS message from a phone number that belongs to the authenticated account."
|
|
parameters:
|
|
- description: "Number that is sending the message."
|
|
name: "from"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "A list of the recipient's phone numbers."
|
|
name: "to"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html\">Iterable</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- description: "message to send to recipient."
|
|
name: "message"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public Mono<Iterable<SmsSendResult>> send(String from, Iterable<String> to, String message)"
|
|
desc: "Sends an SMS message from a phone number that belongs to the authenticated account."
|
|
returns:
|
|
description: "response for a successful send Sms request."
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html\">Iterable</a><<xref href=\"com.azure.communication.sms.models.SmsSendResult?alt=com.azure.communication.sms.models.SmsSendResult&text=SmsSendResult\" data-throw-if-not-resolved=\"False\" />>>"
|
|
- uid: "com.azure.communication.sms.SmsAsyncClient.send(java.lang.String,java.lang.String,java.lang.String)"
|
|
fullName: "com.azure.communication.sms.SmsAsyncClient.send(String from, String to, String message)"
|
|
name: "send(String from, String to, String message)"
|
|
nameWithType: "SmsAsyncClient.send(String from, String to, String message)"
|
|
summary: "Sends an SMS message from a phone number that belongs to the authenticated account."
|
|
parameters:
|
|
- description: "Number that is sending the message."
|
|
name: "from"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "The recipient's phone number."
|
|
name: "to"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "message to send to recipient."
|
|
name: "message"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public Mono<SmsSendResult> send(String from, String to, String message)"
|
|
desc: "Sends an SMS message from a phone number that belongs to the authenticated account."
|
|
returns:
|
|
description: "response for a successful send Sms request."
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<xref href=\"com.azure.communication.sms.models.SmsSendResult?alt=com.azure.communication.sms.models.SmsSendResult&text=SmsSendResult\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.communication.sms.SmsAsyncClient.send(java.lang.String,java.lang.String,java.lang.String,com.azure.communication.sms.models.SmsSendOptions)"
|
|
fullName: "com.azure.communication.sms.SmsAsyncClient.send(String from, String to, String message, SmsSendOptions options)"
|
|
name: "send(String from, String to, String message, SmsSendOptions options)"
|
|
nameWithType: "SmsAsyncClient.send(String from, String to, String message, SmsSendOptions options)"
|
|
summary: "Sends an SMS message from a phone number that belongs to the authenticated account."
|
|
parameters:
|
|
- description: "Number that is sending the message."
|
|
name: "from"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "The recipient's phone number."
|
|
name: "to"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "message to send to recipient."
|
|
name: "message"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "set options on the SMS request, like enable delivery report, which sends a report\n for this message to the Azure Resource Event Grid."
|
|
name: "options"
|
|
type: "<xref href=\"com.azure.communication.sms.models.SmsSendOptions?alt=com.azure.communication.sms.models.SmsSendOptions&text=SmsSendOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public Mono<SmsSendResult> send(String from, String to, String message, SmsSendOptions options)"
|
|
desc: "Sends an SMS message from a phone number that belongs to the authenticated account."
|
|
returns:
|
|
description: "The Sms send result."
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<xref href=\"com.azure.communication.sms.models.SmsSendResult?alt=com.azure.communication.sms.models.SmsSendResult&text=SmsSendResult\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.communication.sms.SmsAsyncClient.sendWithResponse(java.lang.String,java.lang.Iterable<java.lang.String>,java.lang.String,com.azure.communication.sms.models.SmsSendOptions)"
|
|
fullName: "com.azure.communication.sms.SmsAsyncClient.sendWithResponse(String from, Iterable<String> to, String message, SmsSendOptions options)"
|
|
name: "sendWithResponse(String from, Iterable<String> to, String message, SmsSendOptions options)"
|
|
nameWithType: "SmsAsyncClient.sendWithResponse(String from, Iterable<String> to, String message, SmsSendOptions options)"
|
|
summary: "Sends an SMS message from a phone number that belongs to the authenticated account."
|
|
parameters:
|
|
- description: "Number that is sending the message."
|
|
name: "from"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "A list of the recipient's phone numbers."
|
|
name: "to"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html\">Iterable</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- description: "message to send to recipient."
|
|
name: "message"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "set options on the SMS request, like enable delivery report, which sends a report\n for this message to the Azure Resource Event Grid."
|
|
name: "options"
|
|
type: "<xref href=\"com.azure.communication.sms.models.SmsSendOptions?alt=com.azure.communication.sms.models.SmsSendOptions&text=SmsSendOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public Mono<Response<Iterable<SmsSendResult>>> sendWithResponse(String from, Iterable<String> to, String message, SmsSendOptions options)"
|
|
desc: "Sends an SMS message from a phone number that belongs to the authenticated account."
|
|
returns:
|
|
description: "response for a successful send Sms request."
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" /><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html\">Iterable</a><<xref href=\"com.azure.communication.sms.models.SmsSendResult?alt=com.azure.communication.sms.models.SmsSendResult&text=SmsSendResult\" data-throw-if-not-resolved=\"False\" />>>>"
|
|
type: "class"
|
|
desc: "Async client for sending SMS messages with Azure Communication SMS Service."
|
|
metadata: {}
|
|
package: "com.azure.communication.sms"
|
|
artifact: com.azure:azure-communication-sms:1.1.29
|