Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5181218C96 for ; Thu, 23 Jul 2015 22:20:09 +0000 (UTC) Received: (qmail 35591 invoked by uid 500); 23 Jul 2015 22:20:07 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 35527 invoked by uid 500); 23 Jul 2015 22:20:07 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 34233 invoked by uid 99); 23 Jul 2015 22:20:06 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2015 22:20:06 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5DE06E6842; Thu, 23 Jul 2015 22:20:06 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: dblotsky@apache.org To: commits@cordova.apache.org Date: Thu, 23 Jul 2015 22:20:49 -0000 Message-Id: In-Reply-To: <77e03c3543824ad08ea8ea0872583c4d@git.apache.org> References: <77e03c3543824ad08ea8ea0872583c4d@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [45/75] [partial] docs commit: Moved docs to www/docs. http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/globalization/globalization.stringToDate.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/globalization/globalization.stringToDate.md b/docs/de/3.1.0/cordova/globalization/globalization.stringToDate.md deleted file mode 100644 index 13436c1..0000000 --- a/docs/de/3.1.0/cordova/globalization/globalization.stringToDate.md +++ /dev/null @@ -1,105 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# globalization.stringToDate - -Analysiert ein Datum formatiert als Zeichenfolge, nach der Client Benutzereinstellungen und Kalender mit der Zeitzone des Clients, und gibt das entsprechende Datumsobjekt zurück. - - navigator.globalization.stringToDate(dateString, successCallback, errorCallback, options); - - -## Beschreibung - -Gibt das Datum zurück, an den Erfolg-Rückruf mit einem `properties` -Objekt als Parameter. Das Objekt sollte folgenden Eigenschaften aufweisen: - -* **Jahr**: die vier Digit Year. *(Anzahl)* - -* **Monat**: der Monat ab (0-11). *(Anzahl)* - -* **Tag**: der Tag von (1-31). *(Anzahl)* - -* **Stunde**: die Stunde (0-23). *(Anzahl)* - -* **Minute**: die Minute (0-59). *(Anzahl)* - -* **zweite**: die zweite von (0-59). *(Anzahl)* - -* **Millisekunde**: die Millisekunden (von 0-999), nicht auf allen Plattformen verfügbar. *(Anzahl)* - -Die eingehende `dateString` -Parameter des Typs sein sollte`String`. - -Die `options` Parameter ist optional und wird mit den folgenden Werten: - - {FormatLength: 'kurz', Selektor: "Datum und Uhrzeit"} - - -Die `options.formatLength` kann `short` , `medium` , `long` , oder `full` . Die `options.selector` kann `date` , `time` oder`date and -time`. - -Wenn es ist ein Fehler beim Analysieren der Datumszeichenfolge dann die `errorCallback` führt mit einem `GlobalizationError` -Objekt als Parameter. Erwarteten Fehlercode ist`GlobalizationError.PARSING\_ERROR`. - -## Unterstützte Plattformen - -* Android -* BlackBerry WebWorks (OS 5.0 und höher) -* iOS -* Windows Phone 8 - -## Kleines Beispiel - -Wenn der Browser auf festgelegt ist die `en\_US` Gebietsschema, dies zeigt einen Popup-Dialog mit Text ähnlich `month:8 day:25 year:2012` . Beachten Sie, dass im Monat ganze Zahl ist kleiner als die Zeichenfolge AsInteger Monat stellt einen Array-Index. - - navigator.globalization.stringToDate( - '9/25/2012', - function (date) {alert('month:' + date.month + - ' day:' + date.day + - ' year:' + date.year + '\n');}, - function () {alert('Error getting date\n');}, - {selector: 'date'} - ); - - -## Vollständiges Beispiel - - - - - stringToDate Example - - - - - - - - - -## Windows Phone 8 Macken - -* Die `formatLength` option unterstützt nur `short` und `full` Werte. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/globalization/globalization.stringToNumber.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/globalization/globalization.stringToNumber.md b/docs/de/3.1.0/cordova/globalization/globalization.stringToNumber.md deleted file mode 100644 index ca60ca4..0000000 --- a/docs/de/3.1.0/cordova/globalization/globalization.stringToNumber.md +++ /dev/null @@ -1,79 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# globalization.stringToNumber - -Analysiert eine Zahl als Zeichenfolge nach dem Client-Benutzer-Einstellungen formatiert und gibt die entsprechende Nummer zurück. - - navigator.globalization.stringToNumber(string, successCallback, errorCallback, options); - - -## Beschreibung - -Liefert die Anzahl an der `successCallback` mit einem `properties` -Objekt als Parameter. Dieses Objekt muss eine `value` Eigenschaft mit einer `Number` Wert. - -Wenn es ist ein Fehler beim Analysieren der Zeichenfolge, dann die `errorCallback` führt mit einem `GlobalizationError` -Objekt als Parameter. Erwarteten Fehlercode ist`GlobalizationError.PARSING\_ERROR`. - -Die `options` Parameter ist optional und wird mit den folgenden Werten: - - {Typ: "decimal"} - - -Die `options.type` kann `decimal` , `percent` , oder`currency`. - -## Unterstützte Plattformen - -* Android -* BlackBerry WebWorks (OS 5.0 und höher) -* iOS -* Windows Phone 8 - -## Kleines Beispiel - -Wenn der Browser auf festgelegt ist die `en\_US` Gebietsschema, dies sollte einen Popup-Dialog mit Text ähnlich anzeigen `number: 1234.56` : - - navigator.globalization.stringToNumber( - '1234.56', - function (number) {alert('number: ' + number.value + '\n');}, - function () {alert('Error getting number\n');}, - {type:'decimal'} - ); - - -## Vollständiges Beispiel - - - - - stringToNumber Example - - - - - - - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/inappbrowser/inappbrowser.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/inappbrowser/inappbrowser.md b/docs/de/3.1.0/cordova/inappbrowser/inappbrowser.md deleted file mode 100644 index aeb6340..0000000 --- a/docs/de/3.1.0/cordova/inappbrowser/inappbrowser.md +++ /dev/null @@ -1,497 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# InAppBrowser - -> Die `InAppBrowser` ist eine Web-Browser-Ansicht, die anzeigt, wann der Aufruf `window.open()` , oder als als bildeten einen Link öffnen``. - - var ref = window.open('http://apache.org', '_blank', 'location=yes'); - - -**Hinweis:** Das InAppBrowser-Fenster verhält sich wie einen standard-Webbrowser und Cordova APIs kann nicht zugegriffen werden kann. - -## Beschreibung - -Aus einem Aufruf zurückgegebenen Objekts`window.open`. - -## Methoden - -* addEventListener -* removeEventListener -* Schließen -* Karte -* executeScript -* insertCSS - -## Zugriff auf die Funktion - -Ab Version 3.0 implementiert Cordova Geräteebene APIs als *Plugins*. Verwenden Sie der CLI `plugin` Befehl, beschrieben in der Command-Line Interface, hinzufügen oder Entfernen dieses Feature für ein Projekt: - - $ cordova plugin add org.apache.cordova.inappbrowser - $ cordova plugin ls - [ 'org.apache.cordova.inappbrowser' ] - $ cordova plugin rm org.apache.cordova.inappbrowser - - -Diese Befehle gelten für alle Zielplattformen, aber die unten beschriebenen Plattform-spezifische Konfigurationseinstellungen ändern: - -* Android (in`app/res/xml/config.xml`) - - - - - - -* iOS (in`config.xml`) - - - - - - -* Windows Phone 7 und 8 (in`config.xml`) - - - - -Einige Plattformen können dieses Feature unterstützen, ohne dass eine besondere Konfiguration. Finden Sie unter *Plattform-Unterstützung* in der Übersicht. - -# addEventListener - -> Fügt einen Listener für eine Veranstaltung aus der`InAppBrowser`. - - ref.addEventListener(eventname, callback); - - -* **Ref**: Bezugnahme auf die `InAppBrowser` Fenster *(InAppBrowser)* - -* **EventName**: das Ereignis zu warten *(String)* - - * **Loadstart**: Ereignis wird ausgelöst, wenn die `InAppBrowser` beginnt, eine URL zu laden. - * **Loadstop**: Ereignis wird ausgelöst, wenn der `InAppBrowser` beendet ist, eine URL laden. - * **LoadError**: Ereignis wird ausgelöst, wenn der `InAppBrowser` ein Fehler auftritt, wenn Sie eine URL zu laden. - * **Ausfahrt**: Ereignis wird ausgelöst, wenn das `InAppBrowser` -Fenster wird geschlossen. - -* **Rückruf**: die Funktion, die ausgeführt wird, wenn das Ereignis ausgelöst wird. Die Funktion übergeben wird ein `InAppBrowserEvent` -Objekt als Parameter. - -## Unterstützte Plattformen - -* Android -* BlackBerry -* iOS -* Windows Phone 7 und 8 - -## Kleines Beispiel - - var ref = window.open('http://apache.org', '_blank', 'location=yes'); - ref.addEventListener('loadstart', function() { alert(event.url); }); - - -## Vollständiges Beispiel - - - - - InAppBrowser.addEventListener Example - - - - - - - - - -# removeEventListener - -> Entfernt einen Listener für eine Veranstaltung aus der`InAppBrowser`. - - ref.removeEventListener(eventname, callback); - - -* **Ref**: Bezugnahme auf die `InAppBrowser` Fenster. *(InAppBrowser)* - -* **EventName**: das Ereignis zu warten. *(String)* - - * **Loadstart**: Ereignis wird ausgelöst, wenn die `InAppBrowser` beginnt, eine URL zu laden. - * **Loadstop**: Ereignis wird ausgelöst, wenn der `InAppBrowser` beendet ist, eine URL laden. - * **LoadError**: Ereignis wird ausgelöst, wenn die `InAppBrowser` trifft einen Fehler beim Laden einer URLs. - * **Ausfahrt**: Ereignis wird ausgelöst, wenn das `InAppBrowser` -Fenster wird geschlossen. - -* **Rückruf**: die Funktion ausgeführt, wenn das Ereignis ausgelöst wird. Die Funktion übergeben wird ein `InAppBrowserEvent` Objekt. - -## Unterstützte Plattformen - -* Android -* BlackBerry -* iOS -* Windows Phone 7 und 8 - -## Kleines Beispiel - - var ref = window.open('http://apache.org', '_blank', 'location=yes'); - var myCallback = function() { alert(event.url); } - ref.addEventListener('loadstart', myCallback); - ref.removeEventListener('loadstart', myCallback); - - -## Vollständiges Beispiel - - - - - InAppBrowser.removeEventListener Example - - - - - - - - - -# Schließen - -> Schließt die `InAppBrowser` Fenster. - - ref.close(); - - -* **Ref**: Bezugnahme auf die `InAppBrowser` Fenster *(InAppBrowser)* - -## Unterstützte Plattformen - -* Android -* BlackBerry -* iOS -* Windows Phone 7 und 8 - -## Kleines Beispiel - - var ref = window.open('http://apache.org', '_blank', 'location=yes'); - ref.close(); - - -## Vollständiges Beispiel - - - - - InAppBrowser.close Example - - - - - - - - - -# Karte - -> Zeigt ein InAppBrowser-Fenster, das geöffnet wurde, versteckt. Aufrufen, dies hat keine Auswirkungen, wenn die InAppBrowser schon sichtbar war. - - ref.show(); - - -* **Ref:** Verweis auf die (InAppBrowser) Fenster`InAppBrowser`) - -## Unterstützte Plattformen - -* Android -* BlackBerry -* iOS - -## Kleines Beispiel - - var ref = window.open('http://apache.org', '_blank', 'hidden=yes'); - ref.show(); - - -## Vollständiges Beispiel - - - - - InAppBrowser.show Example - - - - - - - - - -# executeScript - -> Fügt JavaScript-Code in das `InAppBrowser` Fenster - - ref.executeScript(details, callback); - - -* **Ref**: Bezugnahme auf die `InAppBrowser` Fenster. *(InAppBrowser)* - -* **InjectDetails**: Informationen über das Skript ausgeführt, angeben, entweder ein `file` oder `code` Schlüssel. *(Objekt)* - - * **Datei**: URL des Skripts zu injizieren. - * **Code**: Text des Skripts zu injizieren. - -* **Rückruf**: die Funktion, die ausgeführt wird, nachdem der JavaScript-Code injiziert wird. - - * Wenn das eingefügte Skript vom Typ ist `code` , der Rückruf führt mit einen einzelnen Parameter, der der Rückgabewert des Skripts ist, umwickelt ein `Array` . Bei Multi-Line-Skripten ist der Rückgabewert von der letzten Anweisung oder den letzten Ausdruck ausgewertet. - -## Unterstützte Plattformen - -* Android -* BlackBerry -* iOS - -## Kleines Beispiel - - var ref = window.open('http://apache.org', '_blank', 'location=yes'); - ref.addEventListener('loadstop', function() { - ref.executeSript({file: "myscript.js"}); - }); - - -## Vollständiges Beispiel - - - - - InAppBrowser.executeScript Example - - - - - - - - - -# insertCSS - -> Injiziert CSS in der `InAppBrowser` Fenster. - - ref.insertCSS(details, callback); - - -* **Ref**: Bezugnahme auf die `InAppBrowser` Fenster *(InAppBrowser)* - -* **InjectDetails**: Informationen über das Skript ausgeführt, angeben, entweder ein `file` oder `code` Schlüssel. *(Objekt)* - - * **Datei**: URL des Stylesheets zu injizieren. - * **Code**: Text des Stylesheets zu injizieren. - -* **Rückruf**: die Funktion, die ausgeführt wird, nachdem die CSS injiziert wird. - -## Unterstützte Plattformen - -* Android -* BlackBerry -* iOS - -## Kleines Beispiel - - var ref = window.open('http://apache.org', '_blank', 'location=yes'); - ref.addEventListener('loadstop', function() { - ref.insertCSS({file: "mystyles.css"}); - }); - - -## Vollständiges Beispiel - - - - - InAppBrowser.insertCSS Example - - - - - - - - - -# InAppBrowserEvent - -Das Objekt, das an die Callback-Funktion von übergeben wird eine `addEventListener` aufrufen, auf ein `InAppBrowser` Objekt. - -## Eigenschaften - -* **Typ**: Eventname, entweder `loadstart` , `loadstop` , `loaderror` , oder `exit` . *(String)* - -* **URL**: die URL, die geladen wurde. *(String)* - -* **Code**: der Fehler-Code, nur im Fall von `loaderror` . *(Anzahl)* - -* **Nachricht**: die Fehlermeldung angezeigt, nur im Fall von `loaderror` . *(String)* \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/inappbrowser/window.open.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/inappbrowser/window.open.md b/docs/de/3.1.0/cordova/inappbrowser/window.open.md deleted file mode 100644 index 8a9d0a9..0000000 --- a/docs/de/3.1.0/cordova/inappbrowser/window.open.md +++ /dev/null @@ -1,101 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# window.open - -Öffnet eine URL in einem neuen `InAppBrowser` Instanz, die aktuelle Browserinstanz oder der Systembrowser. - - var ref = window.open(url, target, options); - - -* **Ref**: Bezugnahme auf die `InAppBrowser` Fenster. *(InAppBrowser)* - -* **URL**: die URL *(String)*zu laden. Rufen Sie `encodeURI()` auf diese Option, wenn die URL enthält Unicode-Zeichen. - -* **Ziel**: das Ziel in der URL, einen optionalen Parameter geladen, die standardmäßig auf `_self` . *(String)* - - * `_self`: Öffnet sich in der Cordova WebView wenn der URL in der Whitelist ist, andernfalls es öffnet sich in der`InAppBrowser`. - * `_blank`: Öffnet den`InAppBrowser`. - * `_system`: Öffnet in den System-Web-Browser. - -* **Optionen**: Optionen für die `InAppBrowser` . Optional, säumige an: `location=yes` . *(String)* - - Die `options` Zeichenfolge muss keine Leerstelle enthalten, und jede Funktion Name/Wert-Paare müssen durch ein Komma getrennt werden. Featurenamen Groß-/Kleinschreibung. Alle Plattformen unterstützen die anderen Werte: - - * **Lage**: Legen Sie auf `yes` oder `no` , machen die `InAppBrowser` der Adressleiste ein- oder ausschalten. - ## Android nur - - * **Closebuttoncaption** - setzen Sie auf eine Zeichenfolge, die die Beschriftung für die Schaltfläche "Fertig" sein wird. - * **versteckte** - legen Sie auf 'Ja', um den Browser zu erstellen und laden Sie die Seite, aber nicht zeigen. Das Load-Ereignis wird ausgelöst, wenn der Ladevorgang abgeschlossen ist. Lassen Sie, oder legen Sie auf "Nein" (Standard), den Browser öffnen und laden normalerweise zu haben. - * **Clearcache** - legen Sie auf 'Ja', um den Browser Cookiecache gelöscht, wenn das neue Fenster geöffnet wird - * **Clearsessioncache** - legen Sie auf 'Ja', um die Session Cookiecache gelöscht, wenn das neue Fenster geöffnet wird - ## iOS nur - - * **Closebuttoncaption** - setzen Sie auf eine Zeichenfolge, die die Beschriftung für die Schaltfläche "Fertig" sein wird. Beachten Sie, dass Sie diesen Wert selbst lokalisieren. - * **versteckte** - legen Sie auf 'Ja', um den Browser zu erstellen und laden Sie die Seite, aber nicht zeigen. Das Load-Ereignis wird ausgelöst, wenn der Ladevorgang abgeschlossen ist. Lassen Sie, oder legen Sie auf "Nein" (Standard), den Browser öffnen und laden normalerweise zu haben. - * **Symbolleiste** - legen Sie auf "Ja" oder "Nein" zu die Symbolleiste aktivieren oder deaktivieren für die InAppBrowser (standardmäßig "Ja") - * **EnableViewportScale**: Legen Sie auf `yes` oder `no` , Viewport Skalierung durch ein Meta-Tag (standardmäßig zu verhindern`no`). - * **MediaPlaybackRequiresUserAction**: Legen Sie auf `yes` oder `no` , HTML5 audio oder video von automatisches Abspielen (standardmäßig zu verhindern`no`). - * **AllowInlineMediaPlayback**: Legen Sie auf `yes` oder `no` Inline HTML5 Medienwiedergabe, anzeigen innerhalb des Browserfensters statt eine gerätespezifische Wiedergabe-Schnittstelle ermöglichen. Des HTML `video` Element muss auch die `webkit-playsinline` Attribut (Standard:`no`) - * **KeyboardDisplayRequiresUserAction**: Legen Sie auf `yes` oder `no` , die Tastatur zu öffnen, wenn Formularelemente Fokus per JavaScript erhalten `focus()` Anruf (Standard:`yes`). - * **SuppressesIncrementalRendering**: Legen Sie auf `yes` oder `no` zu warten, bis alle neuen Fensterinhalt empfangen wird, bevor Sie wiedergegeben wird (standardmäßig`no`). - * **Presentationstyle**: Legen Sie auf `pagesheet` , `formsheet` oder `fullscreen` [Präsentationsstil][1] (standardmäßig fest`fullscreen`). - * **Transitionstyle**: Legen Sie auf `fliphorizontal` , `crossdissolve` oder `coververtical` [Übergangsstil][2] (standardmäßig fest`coververtical`). - - [1]: http://developer.apple.com/library/ios/documentation/UIKit/Reference/UIViewController_Class/Reference/Reference.html#//apple_ref/occ/instp/UIViewController/modalPresentationStyle - [2]: http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIViewController_Class/Reference/Reference.html#//apple_ref/occ/instp/UIViewController/modalTransitionStyle - -## Unterstützte Plattformen - -* Android -* BlackBerry -* iOS -* Windows Phone 7 und 8 - -## Kleines Beispiel - - var ref = window.open('http://apache.org', '_blank', 'location=yes'); - var ref2 = window.open(encodeURI('http://ja.m.wikipedia.org/wiki/ハングル'), '_blank', 'location=yes'); - - -## Vollständiges Beispiel - - - - - window.open Example - - - - - - - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/media/MediaError/mediaError.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/media/MediaError/mediaError.md b/docs/de/3.1.0/cordova/media/MediaError/mediaError.md deleted file mode 100644 index a36e5f5..0000000 --- a/docs/de/3.1.0/cordova/media/MediaError/mediaError.md +++ /dev/null @@ -1,36 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# Medienfehler - -A `MediaError` Objekt wird zurückgegeben, um die `mediaError` Callback-Funktion, wenn ein Fehler auftritt. - -## Eigenschaften - -* **Code**: einer der vordefinierten Fehlercodes aufgeführt. - -* **Nachricht**: eine Fehlermeldung beschreibt die Details des Fehlers. - -## Konstanten - -* `MediaError.MEDIA_ERR_ABORTED` -* `MediaError.MEDIA_ERR_NETWORK` -* `MediaError.MEDIA_ERR_DECODE` -* `MediaError.MEDIA_ERR_NONE_SUPPORTED` - -## Beschreibung - -Das `MediaError` -Objekt übergeben, um eine `mediaError` Callback-Funktion, wenn ein Fehler auftritt. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/media/Parameters/mediaError.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/media/Parameters/mediaError.md b/docs/de/3.1.0/cordova/media/Parameters/mediaError.md deleted file mode 100644 index 0df092e..0000000 --- a/docs/de/3.1.0/cordova/media/Parameters/mediaError.md +++ /dev/null @@ -1,28 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# Medienfehler - -Ein benutzerdefinierter Rückruffunktion, die ausgeführt wird, wenn ein Fehler, in Medienfunktionen vorliegt. - - function(error) { - // Handle the error - } - - -## Parameter - -* **Fehler**: der Fehler, die durch das Gerät zurückgegeben. *(Medienfehler)* \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/media/capture/CaptureCB.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/media/capture/CaptureCB.md b/docs/de/3.1.0/cordova/media/capture/CaptureCB.md deleted file mode 100644 index c50dcdb..0000000 --- a/docs/de/3.1.0/cordova/media/capture/CaptureCB.md +++ /dev/null @@ -1,39 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# CaptureCB - -> Auf eine erfolgreiche Media-Erfassungsvorgangs aufgerufen. - - function captureSuccess( MediaFile[] mediaFiles ) { ... }; - - -## Beschreibung - -Diese Funktion wird ausgeführt, nachdem ein erfolgreiche Capture-Vorgang abgeschlossen ist. An diesem Punkt kann eine Mediendatei erfasst wurden und entweder der Benutzer die Medien-Capture-Anwendung beendet hat oder die Capture-erreicht. - -Jedes `MediaFile` Objekt beschreibt eine aufgenommenen Medien-Datei. - -## Kleines Beispiel - - // capture callback - function captureSuccess(mediaFiles) { - var i, path, len; - for (i = 0, len = mediaFiles.length; i < len; i += 1) { - path = mediaFiles[i].fullPath; - // do something interesting with the file - } - }; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/media/capture/CaptureError.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/media/capture/CaptureError.md b/docs/de/3.1.0/cordova/media/capture/CaptureError.md deleted file mode 100644 index 10976d4..0000000 --- a/docs/de/3.1.0/cordova/media/capture/CaptureError.md +++ /dev/null @@ -1,35 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# CaptureError - -> Kapselt den Fehlercode, der infolge eines fehlerhaften Medien-Erfassungsvorgangs. - -## Eigenschaften - -* **Code**: einer der vordefinierten Fehlercodes aufgeführt. - -## Konstanten - -* `CaptureError.CAPTURE_INTERNAL_ERR`: Die Kamera oder das Mikrofon konnte Bild oder Ton zu erfassen. - -* `CaptureError.CAPTURE_APPLICATION_BUSY`: Eine weitere Aufnahme-Anforderung verbüßt die Kamera oder Audio-Capture-Anwendung. - -* `CaptureError.CAPTURE_INVALID_ARGUMENT`: Ungültige Verwendung der API (z. B. den Wert des `limit` ist kleiner als 1). - -* `CaptureError.CAPTURE_NO_MEDIA_FILES`: Der Benutzer wird die Kamera oder Audio-Capture-Anwendung vor Aufnahme alles beendet. - -* `CaptureError.CAPTURE_NOT_SUPPORTED`: Der angeforderte Capture-Vorgang wird nicht unterstützt. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/media/capture/CaptureErrorCB.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/media/capture/CaptureErrorCB.md b/docs/de/3.1.0/cordova/media/capture/CaptureErrorCB.md deleted file mode 100644 index 9372779..0000000 --- a/docs/de/3.1.0/cordova/media/capture/CaptureErrorCB.md +++ /dev/null @@ -1,35 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# CaptureErrorCB - -> Wird aufgerufen, wenn ein Fehler, während eines Medien auftritt. - - function captureError( CaptureError error ) { ... }; - - -## Beschreibung - -Diese Funktion wird ausgeführt, wenn ein Fehler auftritt, wenn Sie versuchen, starten Sie ein Medium capture Betrieb. Fehlerszenarien enthalten, wenn die Sicherungsanwendung beschäftigt, ein Capture-Vorgang ist bereits im Gange, oder der Benutzer den Vorgang abbricht, bevor alle Mediendateien erfasst werden. - -Diese Funktion führt mit einem `CaptureError` -Objekt, enthält einen entsprechenden Fehler`code`. - -## Kleines Beispiel - - // capture error callback - var captureError = function(error) { - navigator.notification.alert('Error code: ' + error.code, null, 'Capture Error'); - }; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/media/capture/ConfigurationData.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/media/capture/ConfigurationData.md b/docs/de/3.1.0/cordova/media/capture/ConfigurationData.md deleted file mode 100644 index b8eee0c..0000000 --- a/docs/de/3.1.0/cordova/media/capture/ConfigurationData.md +++ /dev/null @@ -1,59 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# ConfigurationData - -> Kapselt eine Reihe von Medien-Aufnahme-Parameter, die ein Gerät unterstützt. - -## Beschreibung - -Beschreibt Medien-Aufnahmemodi, die vom Gerät unterstützt. Die Konfigurationsdaten enthält den MIME-Typ und Capture Dimensionen für die Aufnahme von Video- oder Bilddateien. - -Die MIME-Typen sollten [RFC2046][1]einhalten. Beispiele: - - [1]: http://www.ietf.org/rfc/rfc2046.txt - -* `video/3gpp` -* `video/quicktime` -* `image/jpeg` -* `audio/amr` -* `audio/wav` - -## Eigenschaften - -* **Typ**: die ASCII-codierte Zeichenfolge aus Kleinbuchstaben, den Medientyp darstellt. (DOM-String und enthält) - -* **Höhe**: die Höhe des Bildes oder Videos in Pixel. Der Wert ist NULL für sound-Clips. (Anzahl) - -* **Breite**: die Breite des Bildes oder Videos in Pixel. Der Wert ist NULL für sound-Clips. (Anzahl) - -## Kleines Beispiel - - // retrieve supported image modes - var imageModes = navigator.device.capture.supportedImageModes; - - // Select mode that has the highest horizontal resolution - var width = 0; - var selectedmode; - for each (var mode in imageModes) { - if (mode.width > width) { - width = mode.width; - selectedmode = mode; - } - } - - -Von jeder Plattform unterstützt nicht. Alle Konfigurations-Daten-Arrays sind leer. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/media/capture/MediaFile.getFormatData.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/media/capture/MediaFile.getFormatData.md b/docs/de/3.1.0/cordova/media/capture/MediaFile.getFormatData.md deleted file mode 100644 index 172bd23..0000000 --- a/docs/de/3.1.0/cordova/media/capture/MediaFile.getFormatData.md +++ /dev/null @@ -1,49 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# MediaFile.getFormatData - -> Ruft formatieren Informationen über die Medien-Capture-Datei. - - mediaFile.getFormatData( - MediaFileDataSuccessCB successCallback, - [MediaFileDataErrorCB errorCallback] - ); - - -## Beschreibung - -Diese Funktion versucht asynchron, die Formatierungsinformationen für die Mediendatei abzurufen. Wenn erfolgreich, es ruft die `MediaFileDataSuccessCB` Rückruf mit einem `MediaFileData` Objekt. Wenn der Versuch fehlschlägt, ruft diese Funktion die `MediaFileDataErrorCB` Rückruf. - -## Unterstützte Plattformen - -* Android -* BlackBerry WebWorks (OS 5.0 und höher) -* iOS -* Windows Phone 7 und 8 -* Windows 8 - -## BlackBerry WebWorks Macken - -Bietet eine API keine Informationen zum Media-Dateien, so dass alle `MediaFileData` Objekte zurückgeben, mit Standardwerten. - -## Android Macken - -Die API zum Zugriff Medien Dateiformat-Information ist begrenzt, so dass nicht alle `MediaFileData` Eigenschaften werden unterstützt. - -## iOS Macken - -Die API zum Zugriff Medien Dateiformat-Information ist begrenzt, so dass nicht alle `MediaFileData` Eigenschaften werden unterstützt. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/media/capture/MediaFile.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/media/capture/MediaFile.md b/docs/de/3.1.0/cordova/media/capture/MediaFile.md deleted file mode 100644 index 5704add..0000000 --- a/docs/de/3.1.0/cordova/media/capture/MediaFile.md +++ /dev/null @@ -1,35 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# MediaFile - -> Kapselt Eigenschaften einer Mediendatei erfassen. - -## Eigenschaften - -* **Name**: der Name der Datei, ohne Pfadinformationen. (DOM-String und enthält) - -* **FullPath**: der vollständige Pfad der Datei, einschließlich des Namens. (DOM-String und enthält) - -* **Typ**: Mime-Typ der Datei (DOM-String und enthält) - -* **LastModifiedDate**: das Datum und die Uhrzeit wann die Datei zuletzt geändert wurde. (Datum) - -* **Größe**: die Größe der Datei in Byte. (Anzahl) - -## Methoden - -* **MediaFile.getFormatData**: Ruft die Formatierungsinformationen der Mediendatei. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/media/capture/MediaFileData.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/media/capture/MediaFileData.md b/docs/de/3.1.0/cordova/media/capture/MediaFileData.md deleted file mode 100644 index bfdaefc..0000000 --- a/docs/de/3.1.0/cordova/media/capture/MediaFileData.md +++ /dev/null @@ -1,73 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# MediaFileData - -> Kapselt Formatinformationen zu einer Mediendatei. - -## Eigenschaften - -* **Codecs**: das tatsächliche Format der Audio- und video-Inhalte. (DOM-String und enthält) - -* **Bitrate**: die durchschnittliche Bitrate des Inhalts. Der Wert ist NULL für Bilder. (Anzahl) - -* **Höhe**: die Höhe des Bildes oder Videos in Pixel. Der Wert ist NULL für audio-Clips. (Anzahl) - -* **Breite**: die Breite des Bildes oder Videos in Pixel. Der Wert ist NULL für audio-Clips. (Anzahl) - -* **Dauer**: die Länge des Video- oder Clips in Sekunden. Der Wert ist NULL für Bilder. (Anzahl) - -## BlackBerry WebWorks Macken - -Keine API bietet Informationen für Medien-Dateien, so dass die `MediaFileData` von zurückgegebene Objekt `MediaFile.getFormatData` verfügt über die folgenden Standardwerte: - -* **Codecs**: nicht unterstützt, und gibt`null`. - -* **Bitrate**: nicht unterstützt, und gibt den Wert NULL. - -* **Höhe**: nicht unterstützt, und gibt den Wert NULL. - -* **Breite**: nicht unterstützt, und gibt den Wert NULL. - -* **Dauer**: nicht unterstützt, und gibt den Wert NULL. - -## Android Macken - -Unterstützt die folgenden `MediaFileData` Eigenschaften: - -* **Codecs**: nicht unterstützt, und gibt`null`. - -* **Bitrate**: nicht unterstützt, und gibt den Wert NULL. - -* **Höhe**: unterstützt: nur Bild und Video-Dateien. - -* **Breite**: unterstützt: nur Bild und Video-Dateien. - -* **Dauer**: unterstützt: Audio- und video-Dateien nur. - -## iOS Macken - -Unterstützt die folgenden `MediaFileData` Eigenschaften: - -* **Codecs**: nicht unterstützt, und gibt`null`. - -* **Bitrate**: iOS4 Geräten für nur Audio unterstützt. Gibt 0 (null) für Bilder und Videos. - -* **Höhe**: unterstützt: nur Bild und Video-Dateien. - -* **Breite**: unterstützt: nur Bild und Video-Dateien. - -* **Dauer**: unterstützt: Audio- und video-Dateien nur. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/media/capture/capture.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/media/capture/capture.md b/docs/de/3.1.0/cordova/media/capture/capture.md deleted file mode 100644 index 7737008..0000000 --- a/docs/de/3.1.0/cordova/media/capture/capture.md +++ /dev/null @@ -1,128 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# Erfassen - -> Ermöglicht den Zugriff auf des Geräts Audio-, Bild- und video-Capture-Funktionen. - -**Wichtige Datenschutzhinweis:** Erfassung und Verwendung von Bildern, Video oder Audio von Kamera oder das Mikrofon des Geräts wirft wichtige Datenschutzprobleme. Ihre app-Datenschutzerklärung sollten besprechen, wie die app solche Sensoren verwendet und ob die aufgezeichneten Daten mit irgendwelchen anderen Parteien geteilt werden. Außerdem, wenn die app-Nutzung der Kamera oder Mikrofon in der Benutzeroberfläche nicht offensichtlich ist, sollten Sie bereitstellen eine just-in-Time-Bekanntmachung vor Ihrer Anwendung den Zugriff auf die Kamera oder das Mikrofon (wenn das Betriebssystem des Geräts bereits tun nicht). Diese Benachrichtigung sollte der gleichen Informationen, die vorstehend, sowie die Zustimmung des Benutzers (z.B. durch Präsentation Entscheidungen für das **OK** und **Nein danke**). Beachten Sie, dass einige app-Marktplätze können Ihre app eine Frist von just-in-Time und Erlaubnis des Benutzers vor dem Zugriff auf die Kamera oder das Mikrofon einholen. Weiter e Informationen finden Sie in der Datenschutz-Guide. - -## Objekte - -* Erfassen -* CaptureAudioOptions -* CaptureImageOptions -* CaptureVideoOptions -* CaptureCallback -* CaptureErrorCB -* ConfigurationData -* MediaFile -* MediaFileData - -## Methoden - -* capture.captureAudio -* capture.captureImage -* capture.captureVideo -* MediaFile.getFormatData - -## Anwendungsbereich - -The `capture` object is assigned to the `navigator.device` object, and therefore has global scope. - - // The global capture object - var capture = navigator.device.capture; - - -## Eigenschaften - -* **SupportedAudioModes**: die Audio-Aufnahme vom Gerät unterstützten Formate. (ConfigurationData[]) - -* **SupportedImageModes**: die Aufnahme Bildgrößen und Formaten, die von dem Gerät unterstützt. (ConfigurationData[]) - -* **SupportedVideoModes**: die Aufnahme Bildschirmauflösungen und Formate, die vom Gerät unterstützt. (ConfigurationData[]) - -## Methoden - -* `capture.captureAudio`: Starten Sie das Gerät audio-Recording-Anwendung aufzeichnen von audio-Clips. - -* `capture.captureImage`: Starten Sie das Gerät-Kamera-Anwendung um Fotos zu machen. - -* `capture.captureVideo`: Starten des Geräts Videorecorder zum Aufzeichnen von Videos. - -## Unterstützte Plattformen - -* Android -* BlackBerry WebWorks (OS 5.0 und höher) -* iOS -* Windows Phone 7 und 8 -* Windows 8 - -## Zugriff auf die Funktion - -Ab Version 3.0 implementiert Cordova Geräteebene APIs als *Plugins*. Verwenden Sie der CLI `plugin` Befehl, beschrieben in der Command-Line Interface, hinzufügen oder Entfernen dieses Feature für ein Projekt: - - $ cordova plugin add org.apache.cordova.media-capture - $ cordova plugin ls - [ 'org.apache.cordova.media-capture' ] - $ cordova plugin rm org.apache.cordova.media-capture - - -Diese Befehle gelten für alle Zielplattformen, aber die unten beschriebenen Plattform-spezifische Konfigurationseinstellungen ändern: - -* Android - - (in app/res/xml/plugins.xml) - - - - - (in app/AndroidManifest.xml) - - - - -* BlackBerry WebWorks - - (in www/plugins.xml) - - - - - (in www/config.xml) - - - - -* iOS (in`config.xml`) - - - - - - -* Windows Phone (in`Properties/WPAppManifest.xml`) - - - - - - - - - - -Einige Plattformen können dieses Feature unterstützen, ohne dass eine besondere Konfiguration. Finden Sie unter *Plattform-Unterstützung* in der Übersicht. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/media/capture/captureAudio.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/media/capture/captureAudio.md b/docs/de/3.1.0/cordova/media/capture/captureAudio.md deleted file mode 100644 index ac5d675..0000000 --- a/docs/de/3.1.0/cordova/media/capture/captureAudio.md +++ /dev/null @@ -1,133 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# capture.captureAudio - -> Die audio-Recorder-Anwendung starten und geben Informationen über aufgenommene audio-Clip-Dateien zurück. - - navigator.device.capture.captureAudio( - CaptureCB captureSuccess, CaptureErrorCB captureError, [CaptureAudioOptions options] - ); - - -## Beschreibung - -Beginnt einen asynchronen Vorgang, Audioaufnahmen, die audio-Aufnahme-Standardanwendung des Geräts erfassen. Die Operation erlaubt dem Benutzer des Geräts, mehrere Aufnahmen in einer einzigen Sitzung zu erfassen. - -Der Capture-Vorgang endet, wenn entweder vom Benutzer beendet die Audio wird-recording-Anwendung oder die maximale Anzahl der Aufnahmen, die festgelegten `CaptureAudioOptions.limit` erreicht ist. Wenn keine `limit` Parameterwert angegeben ist, wird standardmaessig eins (1) und der Capture-Vorgang beendet, nachdem der Benutzer ein einzelnes audio-Clips aufgezeichnet. - -Wenn der Capture-Vorgang abgeschlossen ist, die `CaptureCallback` führt mit einer Reihe von `MediaFile` Objekten beschreiben jedes audio-Clip-Datei erfasst. Wenn der Benutzer den Vorgang beendet wird, bevor ein Audioclip erfasst wird, die `CaptureErrorCallback` führt mit einem `CaptureError` -Objekt, mit der `CaptureError.CAPTURE_NO_MEDIA_FILES` Fehlercode. - -## Unterstützte Plattformen - -* Android -* BlackBerry WebWorks (OS 5.0 und höher) -* iOS -* Windows Phone 7 und 8 -* Windows 8 - -## Kleines Beispiel - - // capture callback - var captureSuccess = function(mediaFiles) { - var i, path, len; - for (i = 0, len = mediaFiles.length; i < len; i += 1) { - path = mediaFiles[i].fullPath; - // do something interesting with the file - } - }; - - // capture error callback - var captureError = function(error) { - navigator.notification.alert('Error code: ' + error.code, null, 'Capture Error'); - }; - - // start audio capture - navigator.device.capture.captureAudio(captureSuccess, captureError, {limit:2}); - - -## Vollständiges Beispiel - - - - - Capture Audio - - - - - - -
- - - - -## BlackBerry WebWorks Macken - -* Cordova für BlackBerry WebWorks versucht **Voice Notes Recorder** Starten der Anwendung, bereitgestellt durch RIM, Audioaufnahmen zu erfassen. Die app erhält eine `CaptureError.CAPTURE_NOT_SUPPORTED` Fehlercode, wenn die Anwendung nicht auf dem Gerät installiert ist. - -## iOS Macken - -* iOS muss keine Standard-audio-Recording-Anwendung, so dass eine einfache Benutzeroberfläche bereitgestellt wird. - -## Windows Phone 7 und 8 Macken - -* Windows Phone 7 muss keine Standard-audio-Recording-Anwendung, so dass eine einfache Benutzeroberfläche bereitgestellt wird. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/media/capture/captureAudioOptions.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/media/capture/captureAudioOptions.md b/docs/de/3.1.0/cordova/media/capture/captureAudioOptions.md deleted file mode 100644 index 8cae9f1..0000000 --- a/docs/de/3.1.0/cordova/media/capture/captureAudioOptions.md +++ /dev/null @@ -1,45 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# CaptureAudioOptions - -> Kapselt Audioaufnahme-Konfigurationsoptionen. - -## Eigenschaften - -* **Limit**: die maximale Anzahl von audio-Clips kann Benutzer des Geräts in einem einzigen Capture-Vorgang aufzeichnen. Der Wert muss größer als oder gleich 1 (Standardwert 1). - -* **Dauer**: die maximale Dauer eines audio-sound-Clips, in Sekunden. - -## Kleines Beispiel - - // limit capture operation to 3 media files, no longer than 10 seconds each - var options = { limit: 3, duration: 10 }; - - navigator.device.capture.captureAudio(captureSuccess, captureError, options); - - -## Android Macken - -* Die `duration` Parameter wird nicht unterstützt. Aufnahme Längen kann nicht programmgesteuert begrenzt. - -## BlackBerry WebWorks Macken - -* Die `duration` Parameter wird nicht unterstützt. Aufnahme Längen kann nicht programmgesteuert begrenzt. - -## iOS Macken - -* Die `limit` Parameter wird nicht unterstützt, kann also nur eine Aufnahme für jeden Aufruf erstellt werden. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/media/capture/captureImage.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/media/capture/captureImage.md b/docs/de/3.1.0/cordova/media/capture/captureImage.md deleted file mode 100644 index c2bb0e6..0000000 --- a/docs/de/3.1.0/cordova/media/capture/captureImage.md +++ /dev/null @@ -1,124 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# capture.captureImage - -> Starten Sie die Kameraanwendung und geben Informationen über aufgenommene Bild-Dateien zurück. - - navigator.device.capture.captureImage( - CaptureCB captureSuccess, CaptureErrorCB captureError, [CaptureImageOptions options] - ); - - -## Beschreibung - -Beginnt einen asynchronen Vorgang, um Aufnahmen mit Kamera-Anwendung des Geräts. Die Operation erlaubt Benutzern, mehr als ein Bild in einer einzigen Sitzung zu erfassen. - -Der Capture-Vorgang endet entweder, wenn der Benutzer schließt die Kameraanwendung oder die maximale Anzahl an Aufnahmen von angegebenen `CaptureAudioOptions.limit` erreicht ist. Wenn keine `limit` angegeben ist, wird standardmaessig eins (1) und der Capture-Vorgang beendet, nachdem der Benutzer ein einzelnes Bild erfasst. - -Wenn der Capture-Vorgang abgeschlossen ist, ruft es die `CaptureCB` Rückruf mit einem Array von `MediaFile` Objekten beschreibt jede aufgenommene Bild-Datei. Wenn der Benutzer den Vorgang vor dem Aufzeichnen eines Abbilds beendet die `CaptureErrorCB` Rückruf führt mit einem `CaptureError` Objekt mit eine `CaptureError.CAPTURE_NO_MEDIA_FILES` Fehlercode. - -## Unterstützte Plattformen - -* Android -* BlackBerry WebWorks (OS 5.0 und höher) -* iOS -* Windows Phone 7 und 8 -* Windows 8 - -## Windows Phone 7 Macken - -Die native Kameraanwendung aufrufen, während Ihr Gerät via Zune angeschlossen ist, funktioniert nicht, und die Fehler-Callback führt. - -## Kleines Beispiel - - // capture callback - var captureSuccess = function(mediaFiles) { - var i, path, len; - for (i = 0, len = mediaFiles.length; i < len; i += 1) { - path = mediaFiles[i].fullPath; - // do something interesting with the file - } - }; - - // capture error callback - var captureError = function(error) { - navigator.notification.alert('Error code: ' + error.code, null, 'Capture Error'); - }; - - // start image capture - navigator.device.capture.captureImage(captureSuccess, captureError, {limit:2}); - - -## Vollständiges Beispiel - - - - - Capture Image - - - - - - -
- - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/media/capture/captureImageOptions.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/media/capture/captureImageOptions.md b/docs/de/3.1.0/cordova/media/capture/captureImageOptions.md deleted file mode 100644 index aaf81e7..0000000 --- a/docs/de/3.1.0/cordova/media/capture/captureImageOptions.md +++ /dev/null @@ -1,35 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# CaptureImageOptions - -> Image Capture-Konfigurationsoptionen kapselt. - -## Eigenschaften - -* **Limit**: die maximale Anzahl der Bilder, die der Benutzer zu, die in einem einzigen Capture-Vorgang erfassen. Der Wert muss größer als oder gleich 1 (Standardwert 1). - -## Kleines Beispiel - - // limit capture operation to 3 images - var options = { limit: 3 }; - - navigator.device.capture.captureImage(captureSuccess, captureError, options); - - -## iOS Macken - -* Der **Limit** -Parameter wird nicht unterstützt, und nur ein Bild pro Aufruf stammt. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/media/capture/captureVideo.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/media/capture/captureVideo.md b/docs/de/3.1.0/cordova/media/capture/captureVideo.md deleted file mode 100644 index f411ce1..0000000 --- a/docs/de/3.1.0/cordova/media/capture/captureVideo.md +++ /dev/null @@ -1,125 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# capture.captureVideo - -> Die Videorecorder-Anwendung starten und geben Informationen zu aufgezeichneten video-Clip-Dateien zurück. - - navigator.device.capture.captureVideo( - CaptureCB captureSuccess, CaptureErrorCB captureError, [CaptureVideoOptions options] - ); - - -## Beschreibung - -Beginnt einen asynchronen Vorgang um Videoaufnahmen mit Videoaufzeichnung-Anwendung des Geräts zu erfassen. Die Operation ermöglicht dem Benutzer, mehrere Aufnahmen in einer einzigen Sitzung zu erfassen. - -Der Capture-Vorgang endet, wenn entweder vom Benutzer beendet wird, die video-Aufnahme-Anwendung oder die maximale Anzahl an Aufnahmen von angegebenen `CaptureVideoOptions.limit` erreicht ist. Wenn keine `limit` Parameterwert angegeben ist, wird standardmaessig eins (1) und der Capture-Vorgang beendet, nachdem der Benutzer einen einzelnen video Clip aufgezeichnet. - -Wenn der Capture-Vorgang abgeschlossen ist, es der `CaptureCB` Rückruf führt mit einer Reihe von `MediaFile` Objekten beschreiben jedes video-Clip-Datei erfasst. Wenn der Benutzer den Vorgang vor dem Erfassen eines Videoclips, beendet die `CaptureErrorCB` Rückruf führt mit ein `CaptureError` Objekt mit eine `CaptureError.CAPTURE_NO_MEDIA_FILES` Fehlercode. - -## Unterstützte Plattformen - -* Android -* BlackBerry WebWorks (OS 5.0 und höher) -* iOS -* Windows Phone 7 und 8 -* Windows 8 - -## Kleines Beispiel - - // capture callback - var captureSuccess = function(mediaFiles) { - var i, path, len; - for (i = 0, len = mediaFiles.length; i < len; i += 1) { - path = mediaFiles[i].fullPath; - // do something interesting with the file - } - }; - - // capture error callback - var captureError = function(error) { - navigator.notification.alert('Error code: ' + error.code, null, 'Capture Error'); - }; - - // start video capture - navigator.device.capture.captureVideo(captureSuccess, captureError, {limit:2}); - - -## Vollständiges Beispiel - - - - - Capture Video - - - - - - -
- - - - -## BlackBerry WebWorks Macken - -* Cordova für BlackBerry WebWorks versucht, **Video-Recorder** Starten der Anwendung, bereitgestellt durch RIM, Videoaufnahmen zu erfassen. Die app erhält eine `CaptureError.CAPTURE_NOT_SUPPORTED` Fehlercode, wenn die Anwendung nicht auf dem Gerät installiert ist. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/media/capture/captureVideoOptions.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/media/capture/captureVideoOptions.md b/docs/de/3.1.0/cordova/media/capture/captureVideoOptions.md deleted file mode 100644 index 49790b5..0000000 --- a/docs/de/3.1.0/cordova/media/capture/captureVideoOptions.md +++ /dev/null @@ -1,41 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# CaptureVideoOptions - -> Video-Capture-Konfigurationsoptionen kapselt. - -## Eigenschaften - -* **Limit**: die maximale Anzahl von video-Clips des Geräts Benutzer kann in einem einzigen Capture-Vorgang erfassen. Der Wert muss größer als oder gleich 1 (Standardwert 1). - -* **Dauer**: die maximale Dauer eines Videoclips in Sekunden. - -## Kleines Beispiel - - // limit capture operation to 3 video clips - var options = { limit: 3 }; - - navigator.device.capture.captureVideo(captureSuccess, captureError, options); - - -## BlackBerry WebWorks Macken - -* Der **Duration** -Parameter wird nicht unterstützt, so dass die Länge der Aufnahmen programmgesteuert nur beschränkt sein kann. - -## iOS Macken - -* Der **Limit** -Parameter wird nicht unterstützt. Pro Aufruf wird nur ein Video aufgezeichnet. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/17db5a3b/docs/de/3.1.0/cordova/media/media.getCurrentPosition.md ---------------------------------------------------------------------- diff --git a/docs/de/3.1.0/cordova/media/media.getCurrentPosition.md b/docs/de/3.1.0/cordova/media/media.getCurrentPosition.md deleted file mode 100644 index 0c756ed..0000000 --- a/docs/de/3.1.0/cordova/media/media.getCurrentPosition.md +++ /dev/null @@ -1,173 +0,0 @@ ---- - -license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - - - under the License. ---- - -# media.getCurrentPosition - -Gibt die aktuelle Position in einer Audiodatei. - - media.getCurrentPosition(mediaSuccess, [mediaError]); - - -## Parameter - -* **MediaSuccess**: der Rückruf, der die aktuelle Position in Sekunden übergeben wird. - -* **Medienfehler**: (Optional) der Rückruf ausgeführt, wenn ein Fehler auftritt. - -## Beschreibung - -Eine asynchrone Funktion, die die aktuelle Position der zugrunde liegenden Audiodatei der zurückgibt ein `Media` Objekt. Aktualisiert auch die `Media` des Objekts `position` Parameter. - -## Unterstützte Plattformen - -* Android - -* BlackBerry WebWorks (OS 5.0 und höher) - -* iOS - -* Windows Phone 7 und 8 - -* Tizen - -* Windows 8 - -## Kleines Beispiel - - // Audio player - // - var my_media = new Media(src, onSuccess, onError); - - // Update media position every second - var mediaTimer = setInterval(function () { - // get media position - my_media.getCurrentPosition( - // success callback - function (position) { - if (position > -1) { - console.log((position) + " sec"); - } - }, - // error callback - function (e) { - console.log("Error getting pos=" + e); - } - ); - }, 1000); - - -## Vollständiges Beispiel - - - - - Media Example - - - - - -
Play Audio - Pause Playing Audio - Stop Playing Audio -

- - \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org For additional commands, e-mail: commits-help@cordova.apache.org