相机实时查看在苹果手表 [英] Camera live View in apple watch

查看:342
本文介绍了相机实时查看在苹果手表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在3/9苹果演示。
他们显示如何使用苹果手表查看相机实时视图并打开车库门。

On 3/9 apple demo. They show how to use apple watch to see the camera live view and open the garage door.

我认为他们应该与HomeKit集成控制车库门,
,但是如何获得相机实时视图

I think they should integrate with HomeKit to control the garage door, but how to get the camera live view??

这些实时视图图像来自iphone应用程序?
然后使用蓝牙传递图像数据观看?

Do these live view images come from iphone app? then using bluetooth to pass the image data to watch?

推荐答案

Watch应用程序的iOS父应用程序最有可能与HomeKit集成以控制车库门和网络摄像头。

The iOS parent app to the Watch app most likely integrates with HomeKit to control the garage door and the webcam.

为了在手表上显示来自网络摄像头的图像,他们很可能将这些图像写入 MMWormhole 或类似方法。然后他们从应用程序组读取图像,并使用 WKInterfaceDevice addCachedImage(_:name :) 方法。一旦图像上传到Watch,它就可以使用 WKInterfaceImage WKInterfaceGroup 背景图片显示在Watch上。

In order to display the images from the webcam on the Watch, they are most likely writing those images into the Shared App Group between the iOS app and the Watch Extension using MMWormhole or a similar approach. They then read the images from the App Group and push them to the Watch over bluetooth and WiFi using the WKInterfaceDevice addCachedImage(_:name:) method. Once the image is uploaded to the Watch, it can then displayed on the Watch using a WKInterfaceImage or WKInterfaceGroup background image.

这篇关于相机实时查看在苹果手表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆