我目前正在使用NEST相机,想知道如何在我的应用程序中显示实时提要。他们给了我一个应用程序深度链接,但我不太确定该怎么办。它的格式是"nestmobile://cameras/agioerjgoiar.....".
深度链接是将用户发送到另一个应用程序中的特定实例。您无法将Nest应用程序中的视频"拉入"到您的应用程序中。
app_url用于启动Nest应用程序。我相信你可以在iOS应用程序中使用web_url和WKWebView主机。
/**
* Returns a web URL (deep link) to the live camera feed at home.nest.com.
*
* @return A web URL (deep link) to the live camera feed at home.nest.com.
*/
@JsonGetter(KEY_WEB_URL)
public String getWebUrl() {
return mWebUrl;
}