summaryrefslogtreecommitdiff
path: root/external/plyer/facades/sms.py
diff options
context:
space:
mode:
Diffstat (limited to 'external/plyer/facades/sms.py')
-rw-r--r--external/plyer/facades/sms.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/external/plyer/facades/sms.py b/external/plyer/facades/sms.py
new file mode 100644
index 0000000..ce4f299
--- /dev/null
+++ b/external/plyer/facades/sms.py
@@ -0,0 +1,19 @@
+class Sms(object):
+ '''Sms facade.
+
+ .. note::
+
+ On Android your app needs the SEND_SMS permission in order to
+ send sms messages.
+
+ .. versionadded:: 1.2.0
+
+ '''
+
+ def send(self, recipient, message):
+ self._send(recipient=recipient, message=message)
+
+ # private
+
+ def _send(self, **kwargs):
+ raise NotImplementedError()