TwilioSms

A simple Android library for Twilio Programmable SMS

Лицензия

Лицензия

Apache 2.0
Группа

Группа

com.github.hihi-dev
Идентификатор

Идентификатор

twiliosms
Последняя версия

Последняя версия

0.1.1
Дата

Дата

Тип

Тип

aar
Описание

Описание

TwilioSms
A simple Android library for Twilio Programmable SMS
Ссылка на сайт

Ссылка на сайт

https://github.com/hihi-dev/android-twilio-sms
Система контроля версий

Система контроля версий

https://github.com/hihi-dev/android-twilio-sms

Скачать twiliosms

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.hihi-dev/twiliosms/ -->
<dependency>
    <groupId>com.github.hihi-dev</groupId>
    <artifactId>twiliosms</artifactId>
    <version>0.1.1</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.hihi-dev/twiliosms/
implementation 'com.github.hihi-dev:twiliosms:0.1.1'
// https://jarcasting.com/artifacts/com.github.hihi-dev/twiliosms/
implementation ("com.github.hihi-dev:twiliosms:0.1.1")
'com.github.hihi-dev:twiliosms:aar:0.1.1'
<dependency org="com.github.hihi-dev" name="twiliosms" rev="0.1.1">
  <artifact name="twiliosms" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.github.hihi-dev', module='twiliosms', version='0.1.1')
)
libraryDependencies += "com.github.hihi-dev" % "twiliosms" % "0.1.1"
[com.github.hihi-dev/twiliosms "0.1.1"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

android-twilio-sms

A simple Android library for Twilio Programmable SMS https://www.twilio.com/sms

Use with maven: implementation 'com.github.hihi-dev:twiliosms:0.1.1'

How to use

Create an instance of the Twilio library in your application, providing application context and String values of your TwilioSID and TwilioAuth tokens.

Twilio twilio = Twilio.create(Context context, String sid, String token);

Create an SMS message, providing The recipient's number, the senders number, the message body and a callback URL. The callback URL is an optional field and be left null if you do not wish to utilise this functionality.

TwilioMessage message = TwilioMessage.create(String to, String from, String body, String callback);

Twilio SMS also allows media URLs, provide a list of String URL's to add media to the SMS.

TwilioMessage message = TwilioMessage.create(String to, String from, String body, List<String> media, String callback);

Finally, send the SMS providing your TwilioMessage. A Callable TwilioResponse will be returned containing the success state, respose code, and any relevant error message.

twilio.send(TwilioMessage message);

com.github.hihi-dev

HiHi Limited

Версии библиотеки

Версия
0.1.1
0.1.0