diff options
Diffstat (limited to 'files/zh-tw/webapi/websms/index.html')
-rw-r--r-- | files/zh-tw/webapi/websms/index.html | 130 |
1 files changed, 0 insertions, 130 deletions
diff --git a/files/zh-tw/webapi/websms/index.html b/files/zh-tw/webapi/websms/index.html deleted file mode 100644 index 16ef3887cf..0000000000 --- a/files/zh-tw/webapi/websms/index.html +++ /dev/null @@ -1,130 +0,0 @@ ---- -title: WebSMS -slug: WebAPI/WebSMS -translation_of: Archive/B2G_OS/API/Mobile_Messaging_API ---- -<p>{{ non-standard_header() }}</p> - -<p>{{ B2GOnlyHeader2('certified') }}</p> - -<h2 id="摘要">摘要</h2> - -<p>WebSMS API 可讓網頁內容能建立、傳送、接收文字簡訊 (SMS) 或多媒體訊息 (MMS)。</p> - -<p>透過 <a href="https://developer.mozilla.org/en-US/docs/Web/API/window.navigator.mozSms" title="Returns an SmsManager object you can use to receive and send SMS messages."><code>window.navigator.mozSms</code></a> (將回傳 <a href="https://developer.mozilla.org/en-US/docs/Web/API/MozSmsManager" title="Provides support for sending and managing SMS messages on a device with WebSMS."><code>MozSmsManager</code></a> 物件),或是 <a href="https://developer.mozilla.org/en-US/docs/Web/API/window.navigator.mozMobileMessage" title="Returns a MozMobileMessageManager object you can use to receive and send MMS and SMS messages."><code>window.navigator.mozMobileMessage</code></a> (將回傳 <a href="https://developer.mozilla.org/en-US/docs/Web/API/MozMobileMessageManager" title="Provides support for sending and managing both MMS and SMS messages on a device with WebSMS."><code>MozMobileMessageManager</code></a> 物件),均可存取此 API。</p> - -<h2 id="DOM_介面">DOM 介面</h2> - -<h3 id="SMS_介面">SMS 介面</h3> - -<ul> - <li>{{ domxref("window.navigator.mozSms") }} {{deprecated_inline("25")}}</li> - <li>{{ domxref("MozSmsManager") }} {{deprecated_inline("25")}}</li> - <li>{{ domxref("MozSmsMessage") }}</li> - <li>{{ domxref("MozSmsEvent") }}</li> - <li>{{ domxref("MozSmsFilter") }}</li> - <li>{{ domxref("MozSmsSegmentInfo") }}</li> -</ul> - -<h3 id="MMS_與_SMS_介面">MMS 與 SMS 介面</h3> - -<ul> - <li>{{ domxref("MozMobileMessageManager")}}</li> - <li>{{ domxref("MozMmsMessage") }}</li> - <li>{{ domxref("MozMmsEvent") }}</li> - <li>{{ domxref("MozMobileMessageThread") }}</li> -</ul> - -<h2 id="範例程式碼與介紹">範例程式碼與介紹</h2> - -<ul> - <li><a href="/en-US/docs/WebAPI/WebSMS/Introduction_to_Mobile_Message_API" title="en/API/WebSMS/Introduction_to_WebSMS">Mobile Message API 介紹</a></li> -</ul> - -<h2 id="規格">規格</h2> - -<p>此 API 目前尚未成為標準規格。可至 W3C 的 <a href="http://www.w3.org/2012/sysapps/" title="http://www.w3.org/2012/sysapps/">System Application Working Group</a> 參與相關討論。</p> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">Specification</th> - <th scope="col">Status</th> - <th scope="col">Comment</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName('Messaging')}}</td> - <td>{{Spec2('Messaging')}}</td> - <td>Editor Draft (WIP).</td> - </tr> - </tbody> -</table> - -<h2 id="瀏覽器相容性">瀏覽器相容性</h2> - -<p>當然,主要支援行動瀏覽器。</p> - -<p>{{ CompatibilityTable() }}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatNo() }}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatGeckoMobile("12.0") }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatNo() }}</td> - </tr> - </tbody> -</table> -</div> - -<h2 id="相關設定">相關設定</h2> - -<ul> - <li>WebSMS 預設為停用,可將 <code>dom.sms.enabled</code> 設定為 true 即可啟用。</li> - <li>允許使用 WebSMS API 的主機名稱,均以逗號區隔,且必須透過 <code>dom.sms.whitelist</code> 指定之。此字串預設為空白。</li> - <li>WebSMS 僅能用於 Firefox OS (B2G) 的 Certified Apps 之上。</li> - <li>從 Firefox OS 1.1 開始,即可使用 MMS。</li> -</ul> - -<h2 class="note" id="另可參閱">另可參閱</h2> - -<ul> - <li><a class="link-https" href="https://wiki.mozilla.org/WebAPI/WebSMS" title="https://wiki.mozilla.org/WebAPI/WebSMS">WebSMS API</a> (設計文件)</li> -</ul> |