-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
815 changed files
with
569,190 additions
and
35,784 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<html> | ||
<style> | ||
table, th, td { | ||
border: 1px solid rgb(200,200,200); | ||
border-collapse: collapse; | ||
} | ||
table { | ||
table-layout: fixed; | ||
width: 1900px; | ||
} | ||
td { | ||
overflow-x: auto; | ||
} | ||
th, td { | ||
padding: 15px; | ||
text-align: left; | ||
vertical-align: middle; | ||
} | ||
.comments { | ||
color: #292; | ||
} | ||
.source-code { | ||
color: #22F; | ||
} | ||
.interface-parent { | ||
color: #AAA; | ||
} | ||
.interface-name { | ||
color: #000; | ||
} | ||
.check-mark { | ||
text-align: center; | ||
} | ||
</style> | ||
<body> | ||
<br> | ||
|
||
<h1>DJI Mobile SDK V5 5.9.0 to 5.10.0 Differences</h1> | ||
|
||
<br> | ||
|
||
<h2>API changes</h2> | ||
|
||
<table class="diff-table"><tr valign="top"><td width=15%><font color="#000">5.9.0 Parent and Name</font></td><td width=15%><font color="#000">5.9.0 Code</font></td><td width=15%><font color="#000">5.10.0 Parent and Name</font></td><td width=15%><font color="#000">5.10.0 Code</font></td><td width=3%><font color="#000">Parent</font></td><td width=3%><font color="#000">Name</font></td><td width=3%><font color="#000">Type</font></td><td width=3%><font color="#000">Param</font></td><td width=3%><font color="#000">Return</font></td></tr><tr valign="top"><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.ICameraStreamManager.</span><span class="interface-name">ScaleType</span></td><td width=15%><span class="source-code">enum ScaleType </span></td><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.ICameraStreamManager.</span><span class="interface-name"></span></td><td width=15%><span class="source-code"> enum ScaleType </span></td><td width=3%></td><td width=3%><div class="check-mark">X</div></td><td width=3%><div class="check-mark">X</div></td><td width=3%></td><td width=3%></td></tr><tr valign="top"><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IKeyManager.</span><span class="interface-name">getValue</span></td><td width=15%><span class="source-code"> <Result> void getValue(DJIKey<Result> key, CommonCallbacks.CompletionCallbackWithParam<Result> callback)</span></td><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IKeyManager.</span><span class="interface-name">getValue</span></td><td width=15%><span class="source-code"> <R> void getValue(DJIKey<R> key, CommonCallbacks.CompletionCallbackWithParam<R> callback)</span></td><td width=3%></td><td width=3%></td><td width=3%></td><td width=3%><div class="check-mark">X</div></td><td width=3%><div class="check-mark">X</div></td></tr><tr valign="top"><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IKeyManager.</span><span class="interface-name">performAction</span></td><td width=15%><span class="source-code"> <Result> void performAction(DJIKey.ActionKey<?, Result> key, CommonCallbacks.CompletionCallbackWithParam<Result> callback)</span></td><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IKeyManager.</span><span class="interface-name">performAction</span></td><td width=15%><span class="source-code"> <R> void performAction(DJIKey.ActionKey<?, R> key, CommonCallbacks.CompletionCallbackWithParam<R> callback)</span></td><td width=3%></td><td width=3%></td><td width=3%></td><td width=3%><div class="check-mark">X</div></td><td width=3%><div class="check-mark">X</div></td></tr><tr valign="top"><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IKeyManager.</span><span class="interface-name">listen</span></td><td width=15%><span class="source-code"> <Result> void listen(DJIKey<Result> key, Object listenHolder, boolean getOnce, CommonCallbacks.KeyListener<Result> callback)</span></td><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IKeyManager.</span><span class="interface-name">listen</span></td><td width=15%><span class="source-code"> <R> void listen(DJIKey<R> key, Object listenHolder, boolean getOnce, CommonCallbacks.KeyListener<R> callback)</span></td><td width=3%></td><td width=3%></td><td width=3%></td><td width=3%><div class="check-mark">X</div></td><td width=3%><div class="check-mark">X</div></td></tr><tr valign="top"><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IKeyManager.</span><span class="interface-name">listen</span></td><td width=15%><span class="source-code"> <Result> void listen(DJIKey<Result> key, Object listenHolder, CommonCallbacks.KeyListener<Result> callback)</span></td><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IKeyManager.</span><span class="interface-name">listen</span></td><td width=15%><span class="source-code"> <R> void listen(DJIKey<R> key, Object listenHolder, CommonCallbacks.KeyListener<R> callback)</span></td><td width=3%></td><td width=3%></td><td width=3%></td><td width=3%><div class="check-mark">X</div></td><td width=3%><div class="check-mark">X</div></td></tr><tr valign="top"><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IKeyManager.</span><span class="interface-name">performAction</span></td><td width=15%><span class="source-code"> <Param, Result> void performAction(DJIKey.ActionKey<Param, Result> key, Param param, CommonCallbacks.CompletionCallbackWithParam<Result> callback)</span></td><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IKeyManager.</span><span class="interface-name">performAction</span></td><td width=15%><span class="source-code"> <P, R> void performAction(DJIKey.ActionKey<P, R> key, P param, CommonCallbacks.CompletionCallbackWithParam<R> callback)</span></td><td width=3%></td><td width=3%></td><td width=3%></td><td width=3%><div class="check-mark">X</div></td><td width=3%><div class="check-mark">X</div></td></tr><tr valign="top"><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IKeyManager.</span><span class="interface-name">getValue</span></td><td width=15%><span class="source-code"> <Result> Result getValue(DJIKey<Result> key, @NonNull Result defaultValue)</span></td><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IKeyManager.</span><span class="interface-name">getValue</span></td><td width=15%><span class="source-code"> <R> R getValue(DJIKey<R> key, @NonNull R defaultValue)</span></td><td width=3%></td><td width=3%></td><td width=3%></td><td width=3%><div class="check-mark">X</div></td><td width=3%><div class="check-mark">X</div></td></tr><tr valign="top"><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IKeyManager.</span><span class="interface-name">getValue</span></td><td width=15%><span class="source-code"> <Result> Result getValue(DJIKey<Result> key)</span></td><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IKeyManager.</span><span class="interface-name">getValue</span></td><td width=15%><span class="source-code"> <R> R getValue(DJIKey<R> key)</span></td><td width=3%></td><td width=3%></td><td width=3%></td><td width=3%><div class="check-mark">X</div></td><td width=3%><div class="check-mark">X</div></td></tr><tr valign="top"><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.ICameraStreamManager.ScaleType.</span><span class="interface-name">CENTER_INSIDE</span></td><td width=15%><span class="source-code"> CENTER_INSIDE(2)</span></td><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.ICameraStreamManager.</span><span class="interface-name">CENTER_INSIDE</span></td><td width=15%><span class="source-code"> CENTER_INSIDE(2)</span></td><td width=3%><div class="check-mark">X</div></td><td width=3%></td><td width=3%></td><td width=3%></td><td width=3%></td></tr><tr valign="top"><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.ICameraStreamManager.ScaleType.</span><span class="interface-name">FIX_XY</span></td><td width=15%><span class="source-code"> FIX_XY(0)</span></td><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.ICameraStreamManager.</span><span class="interface-name">FIX_XY</span></td><td width=15%><span class="source-code"> FIX_XY(0)</span></td><td width=3%><div class="check-mark">X</div></td><td width=3%></td><td width=3%></td><td width=3%></td><td width=3%></td></tr><tr valign="top"><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.ICameraStreamManager.ScaleType.</span><span class="interface-name">CENTER_CROP</span></td><td width=15%><span class="source-code"> CENTER_CROP(1)</span></td><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.ICameraStreamManager.</span><span class="interface-name">CENTER_CROP</span></td><td width=15%><span class="source-code"> CENTER_CROP(1)</span></td><td width=3%><div class="check-mark">X</div></td><td width=3%></td><td width=3%></td><td width=3%></td><td width=3%></td></tr><tr valign="top"><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IKeyManager.</span><span class="interface-name">setValue</span></td><td width=15%><span class="source-code"> <Param> void setValue(DJIKey<Param> key, Param param, CommonCallbacks.CompletionCallback callback)</span></td><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IKeyManager.</span><span class="interface-name">setValue</span></td><td width=15%><span class="source-code"> <P> void setValue(DJIKey<P> key, P param, CommonCallbacks.CompletionCallback callback)</span></td><td width=3%></td><td width=3%></td><td width=3%></td><td width=3%><div class="check-mark">X</div></td><td width=3%><div class="check-mark">X</div></td></tr></table><br> | ||
|
||
<h2>APIs added to 5.10.0</h2> | ||
|
||
<table class="diff-table"><tr valign="top"><td width=15%><font color="#000">Parent and Name</font></td><td width=15%><font color="#000">Code</font></td></tr><tr valign="top"><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IDataProtectionManager.</span><span class="interface-name">clearMSDKLog</span></td><td width=15%><span class="source-code"> boolean clearMSDKLog()</span></td></tr><tr valign="top"><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IDataProtectionManager.</span><span class="interface-name">enableMSDKLog</span></td><td width=15%><span class="source-code"> void enableMSDKLog(boolean enabled)</span></td></tr><tr valign="top"><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IDataProtectionManager.</span><span class="interface-name">getMSDKLogPath</span></td><td width=15%><span class="source-code"> String getMSDKLogPath()</span></td></tr><tr valign="top"><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.IDataProtectionManager.</span><span class="interface-name">isMSDKLogEnabled</span></td><td width=15%><span class="source-code"> boolean isMSDKLogEnabled()</span></td></tr><tr valign="top"><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.ILiveStreamManager.</span><span class="interface-name">getLiveStreamScaleType</span></td><td width=15%><span class="source-code"> ICameraStreamManager.ScaleType getLiveStreamScaleType()</span></td></tr><tr valign="top"><td width=15%><span class="interface-parent">dji.v5.manager.interfaces.ILiveStreamManager.</span><span class="interface-name">setLiveStreamScaleType</span></td><td width=15%><span class="source-code"> void setLiveStreamScaleType(ICameraStreamManager.ScaleType scaleType)</span></td></tr></table><p style="font-size:50%; color:white">--android --android </p></body> | ||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<script>window.pathPrefix="../../";</script><script>window.pathPrefix="../../";</script><script>window.pathPrefix="../../";</script><script>window.pathPrefix="../../";</script><script>window.pathPrefix="../../";</script><script>window.pathPrefix="../../";</script><script>window.pathPrefix="../../";</script><script>window.pathPrefix="../../";</script><!DOCTYPE html> | ||
<html lang="en"></html> | ||
<script>window.pathPrefix="../../";</script><!DOCTYPE html> | ||
<html lang="en" style="padding-bottom:0px" class="local"></html> | ||
<head><meta name="generator" content="Hexo 3.9.0"> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | ||
|
@@ -10,39 +10,9 @@ | |
<body> | ||
<nav id="site-header" class="site-header navbar"> | ||
<div class="container"> | ||
<div class="navbar-header"><a href="/" class="logo"><img src="../../images/[email protected]">Developer</a></div> | ||
<div id="header-navbar" class="collapse navbar-collapse"> | ||
<ul class="nav navbar-nav"> | ||
<li><a href="/mobile-sdk">Mobile SDK</a></li> | ||
<li><a href="/ux-sdk">UX SDK</a></li> | ||
<li><a href="/onboard-sdk">Onboard SDK</a></li> | ||
<li><a href="/payload-sdk">Payload SDK</a></li> | ||
<li><a href="/windows-sdk">Windows SDK</a></li> | ||
</ul> | ||
<ul v-cloak v-show="!loggedIn" class="nav navbar-nav navbar-right nav-user"> | ||
<li><a href="/login">登录</a></li> | ||
<li><a href="/register" class="head-cta">注册</a></li> | ||
</ul> | ||
<ul v-cloak v-show="loggedIn" class="nav navbar-nav navbar-right nav-user"> | ||
<li class="hovedown"><a href="javascript:void(0);" class="hovedown-toggle"><i class="fa fa-user"></i></a> | ||
<ul class="hovedown-menu hovedown-menu-right"> | ||
<li><a href="/user">个人中心</a></li> | ||
<li><a href="javascript:void(0);" v-on="click: logout">登出</a></li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="navbar-header"><a href="/" class="logo"><img src="../../images/[email protected]">Android SDK API Reference</a></div> | ||
</div> | ||
</nav> | ||
<div data-offset-top="60" data-spy="affix" class="sub-nav"> | ||
<div class="container"> | ||
<h1 class="logo">Mobile SDK</h1> | ||
<nav><a href="/mobile-sdk">概览</a><a href="https://developer.dji.com/doc/mobile-sdk-tutorial/cn/">文档</a><a href="/mobile-sdk/downloads">下载</a><a href="https://sdk-forum.dji.net/hc/zh-cn">技术支持</a><span class="active hovedown menu-item">中文<span class="caret"></span> | ||
<ul class="hovedown-menu"> | ||
<li><a href="/api-reference-v5/android-api/index.html">English</a></li> | ||
</ul></span></nav> | ||
</div> | ||
</div> | ||
<div id="documentation-page" class="documentation-page"> | ||
<div class="container"> | ||
<div class="site-sidebar"> | ||
|
@@ -685,22 +655,6 @@ <h3 class="title">{{{(item.highlights && item.highlights.title) || item.title}}} | |
</div> | ||
</div> | ||
</div> | ||
<footer id="site-footer" class="site-footer"> | ||
<div class="container"> | ||
<div class="foot-nav row"> | ||
<nav class="link-list col-xs-2"><span class="title">SDK</span><a href="/mobile-sdk">Mobile SDK</a><a href="/ux-sdk">UX SDK</a><a href="/onboard-sdk">Onboard SDK</a><a href="/payload-sdk">Payload SDK</a><a href="/windows-sdk">Windows SDK</a></nav> | ||
<nav class="link-list col-xs-2"><span class="title">资讯</span><a href="/products">产品</a></nav> | ||
<nav class="link-list col-xs-2"><span class="title">社区</span><a href="http://stackoverflow.com/questions/tagged/dji-sdk" target="_blank">Stack Overflow</a><a href="https://www.youtube.com/channel/UCPQwN5xsob8zZGIcDhkYqUA" target="_blank">YouTube</a><a href="https://twitter.com/djidevelopers" target="_blank">Twitter</a></nav> | ||
<nav class="link-list col-xs-2"><span class="title">联系我们</span><a href="mailto:[email protected]"> [email protected]</a></nav> | ||
<nav class="link-list col-xs-2"><span class="title">商务合作</span><a href="mailto:[email protected]"> [email protected]</a></nav> | ||
<nav class="link-list col-xs-2"><span class="title">BILLING</span><a href="mailto:[email protected]"> [email protected]</a></nav> | ||
</div> | ||
<div class="foot-copyright row"> | ||
<div class="col-xs-3 foot-logo"><img src="../../images/dji-logo-foot.png"></div> | ||
<div class="copyright col-xs-7"><span>Copyright © 2022 DJI 大疆创新 版权所有</span><a href="/policies/privacy">隐私政策</a><a href="/policies/terms">使用条款</a></div> | ||
</div> | ||
</div> | ||
</footer> | ||
<script type="text/javascript"> | ||
window.Config = window.config = { | ||
sdk: "mobile-sdk", | ||
|
Oops, something went wrong.