Namespace hcap.bluetooth.audio
hcap.bluetooth.audio
- Defined in: hcap-1.24.6.5901.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
Method Summary
Namespace Detail
hcap.bluetooth.audio
Method Detail
-
<static> hcap.bluetooth.audio.backward(param)Plays the bluetooth audio streaming of the previous track.
Precondition : Bluetooth audio device is connected.
hcap.bluetooth.audio.backward({ "onSuccess":function() { console.log("onSuccess"); }, "onFailure":function(f) { console.log("onFailure : errorMessage = " + f.errorMessage); } });- Parameters:
- {Object} param
- {Function} param.onSuccess [Optional] - success callback function.
param.onSuccess = function() { // No Parameter. } - {Function} param.onFailure [Optional] - failure callback function.
param.onFailure = function(param) { // {String} param.errorMessage - in case of failure, this message provides the details. }
- {Function} param.onSuccess [Optional] - success callback function.
-
<static> hcap.bluetooth.audio.forward(param)Plays the bluetooth audio streaming of the next track.
Precondition : Bluetooth audio device is connected.
hcap.bluetooth.audio.forward({ "onSuccess":function() { console.log("onSuccess"); }, "onFailure":function(f) { console.log("onFailure : errorMessage = " + f.errorMessage); } });- Parameters:
- {Object} param
- {Function} param.onSuccess [Optional] - success callback function.
param.onSuccess = function() { // No Parameter. } - {Function} param.onFailure [Optional] - failure callback function.
param.onFailure = function(param) { // {String} param.errorMessage - in case of failure, this message provides the details. }
- {Function} param.onSuccess [Optional] - success callback function.
-
<static> hcap.bluetooth.audio.pause(param)Pauses the bluetooth audio streaming.
Precondition : Bluetooth audio device is connected.
hcap.bluetooth.audio.pause({ "onSuccess":function() { console.log("onSuccess"); }, "onFailure":function(f) { console.log("onFailure : errorMessage = " + f.errorMessage); } });- Parameters:
- {Object} param
- {Function} param.onSuccess [Optional] - success callback function.
param.onSuccess = function() { // No Parameter. } - {Function} param.onFailure [Optional] - failure callback function.
param.onFailure = function(param) { // {String} param.errorMessage - in case of failure, this message provides the details. }
- {Function} param.onSuccess [Optional] - success callback function.
-
<static> hcap.bluetooth.audio.play(param)Plays the bluetooth audio streaming.
Precondition : Bluetooth audio device is connected.
hcap.bluetooth.audio.play({ "onSuccess":function() { console.log("onSuccess"); }, "onFailure":function(f) { console.log("onFailure : errorMessage = " + f.errorMessage); } });- Parameters:
- {Object} param
- {Function} param.onSuccess [Optional] - success callback function.
param.onSuccess = function() { // No Parameter. } - {Function} param.onFailure [Optional] - failure callback function.
param.onFailure = function(param) { // {String} param.errorMessage - in case of failure, this message provides the details. }
- {Function} param.onSuccess [Optional] - success callback function.
-
<static> hcap.bluetooth.audio.stop(param)Stops the bluetooth audio streaming.
Precondition : Bluetooth audio device is connected.
hcap.bluetooth.audio.stop({ "onSuccess":function() { console.log("onSuccess"); }, "onFailure":function(f) { console.log("onFailure : errorMessage = " + f.errorMessage); } });- Parameters:
- {Object} param
- {Function} param.onSuccess [Optional] - success callback function.
param.onSuccess = function() { // No Parameter. } - {Function} param.onFailure [Optional] - failure callback function.
param.onFailure = function(param) { // {String} param.errorMessage - in case of failure, this message provides the details. }
- {Function} param.onSuccess [Optional] - success callback function.