From da78a9e329e272dedb2400b79a3bdeebff387d47 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:17 -0500 Subject: initial commit --- files/ko/webapi/websms/index.html | 85 ++++++++++++++++++++++ .../introduction_to_websms/index.html | 23 ++++++ 2 files changed, 108 insertions(+) create mode 100644 files/ko/webapi/websms/index.html create mode 100644 files/ko/webapi/websms/introduction_to_mobile_message_api/introduction_to_websms/index.html (limited to 'files/ko/webapi/websms') diff --git a/files/ko/webapi/websms/index.html b/files/ko/webapi/websms/index.html new file mode 100644 index 0000000000..9f91f8ff00 --- /dev/null +++ b/files/ko/webapi/websms/index.html @@ -0,0 +1,85 @@ +--- +title: WebSMS +slug: WebAPI/WebSMS +tags: + - Non-standard +translation_of: Archive/B2G_OS/API/Mobile_Messaging_API +--- +

{{DefaultAPISidebar("Mobile Messaging API")}}

+ +
+

Non-standard
+ This feature is not on a current W3C standards track, but it is supported on the Firefox OS platform. Although implementations may change in the future and it is not supported widely across browsers, it is suitable for use in code dedicated to Firefox OS apps.

+
+ +
+

This API is available on Firefox OS for internal applications only.

+
+ +

요약

+ +

WebSMS는 웹 콘텐츠에서 단문 메시지 서비스 (SMS) 또는 멀티미디어 메시지 서비스 (MMS)의 메시지들을 만들고, 보내고, 받을수 있도록 해주는 API 입니다.

+ +

이 API는 {{ domxref("MozSmsManager") }} 객체를 반환하는 {{ domxref("window.navigator.mozSms") }} 또는 {{ domxref("MozMobileMessageManager") }} 객체를 반환하는 {{ domxref("window.navigator.mozMobileMessage") }} 를 사용하여 이용 가능합니다. 자세한 내용은 아래의 인터페이스 전체 목록을 통해 보실 수 있습니다.

+ +

DOM 인터페이스

+ +

SMS 인터페이스

+ + + +

MMS, SMS 인터페이스

+ + + +

예제 코드와 소개

+ + + +

명세

+ +

이 API는 비 표준 스펙의 구현체입니다. 하지만 W3C의 System Application Working Group에서 논의되고 있습니다.

+ + + + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('Messaging')}}{{Spec2('Messaging')}}Editor Draft (WIP).
+ +

설정 & 이용 가능한 환경

+ +
 
+ + diff --git a/files/ko/webapi/websms/introduction_to_mobile_message_api/introduction_to_websms/index.html b/files/ko/webapi/websms/introduction_to_mobile_message_api/introduction_to_websms/index.html new file mode 100644 index 0000000000..723f12561a --- /dev/null +++ b/files/ko/webapi/websms/introduction_to_mobile_message_api/introduction_to_websms/index.html @@ -0,0 +1,23 @@ +--- +title: WebSMS 소개 +slug: WebAPI/WebSMS/Introduction_to_Mobile_Message_API/Introduction_to_WebSMS +translation_of: Archive/B2G_OS/API/Mobile_Messaging_API/Introduction_to_Mobile_Message_API +--- +

휴대전화의 핵심 기능 중 하나는 SMS 메시지 전송과 수신이다. 이 기능은 WebSMS API를 사용하여 구현 가능하다. 다음은 구현 방법 예제이다.

+
// SMS object
+var sms = navigator.mozSms;
+
+// Send a message
+sms.send("123456789", "Hello world!");
+
+// Receive a message
+sms.onreceived = function (event) {
+    // Read message
+    console.log(event.message);
+};
+
+

참조 문서

+ -- cgit v1.2.3-54-g00ecf