我有一台酒店电视,三星 HAU8000。我想打开引导音镜像,就像屏幕镜像一样。
这是打开屏幕镜像的代码:
var launchApplication = function(appName) {
try {
var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/view ",
null,
null,
null,
[
new tizen.ApplicationControlData("deeplink", ["mobile_screenmirroring_1"])
]);
// ApplicationControlDataArrayReplyCallback instance
var appControlReplyCallback = {
// callee sent a reply
onsuccess: function() {
console.log("inside success");
},
// callee returned failure
onfailure: function() {
console.log('The launch application control failed');
}
};
tizen.application.launchAppControl(appControl, appName
,
function() {
console.log("[] success !!");
}
,
function(e) {
console.log("[] error !!" + e.message);
}
, appControlReplyCallback
);
} catch (error) {
console.log("Error occured :: " + error.message);
}
};
你能帮我打开声音镜像指南吗?
我变了
[
new tizen.ApplicationControlData("deeplink", ["mobile_screenmirroring_1"])
到
[
new tizen.ApplicationControlData("deeplink", ["mobile_soundmirroring_1"])
但没有成功。
从 Tizen 6.0 开始,SoundMirroring 的调用方式为
new tizen.ApplicationControlData("uri",["SoundMirroringGuide"]);
而不是
new tizen.ApplicationControlData("deeplink", ["mobile_screenmirroring_1"]);
我测试了这段代码,但 id 不适用于 Tizen 智能电视。 谢谢。