Skip to content

Commit

Permalink
release for 5.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoker1 committed Aug 15, 2024
1 parent d2fee65 commit dbbd5ad
Show file tree
Hide file tree
Showing 815 changed files with 569,190 additions and 35,784 deletions.
50 changes: 50 additions & 0 deletions Docs/API-Diff/5.9.0_5.10.0_android_diff.html
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"> &lt;Result&gt; void getValue(DJIKey&lt;Result&gt; key, CommonCallbacks.CompletionCallbackWithParam&lt;Result&gt; 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"> &lt;R&gt; void getValue(DJIKey&lt;R&gt; key, CommonCallbacks.CompletionCallbackWithParam&lt;R&gt; 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"> &lt;Result&gt; void performAction(DJIKey.ActionKey&lt;?, Result&gt; key, CommonCallbacks.CompletionCallbackWithParam&lt;Result&gt; 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"> &lt;R&gt; void performAction(DJIKey.ActionKey&lt;?, R&gt; key, CommonCallbacks.CompletionCallbackWithParam&lt;R&gt; 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"> &lt;Result&gt; void listen(DJIKey&lt;Result&gt; key, Object listenHolder, boolean getOnce, CommonCallbacks.KeyListener&lt;Result&gt; 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"> &lt;R&gt; void listen(DJIKey&lt;R&gt; key, Object listenHolder, boolean getOnce, CommonCallbacks.KeyListener&lt;R&gt; 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"> &lt;Result&gt; void listen(DJIKey&lt;Result&gt; key, Object listenHolder, CommonCallbacks.KeyListener&lt;Result&gt; 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"> &lt;R&gt; void listen(DJIKey&lt;R&gt; key, Object listenHolder, CommonCallbacks.KeyListener&lt;R&gt; 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"> &lt;Param, Result&gt; void performAction(DJIKey.ActionKey&lt;Param, Result&gt; key, Param param, CommonCallbacks.CompletionCallbackWithParam&lt;Result&gt; 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"> &lt;P, R&gt; void performAction(DJIKey.ActionKey&lt;P, R&gt; key, P param, CommonCallbacks.CompletionCallbackWithParam&lt;R&gt; 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"> &lt;Result&gt; Result getValue(DJIKey&lt;Result&gt; 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"> &lt;R&gt; R getValue(DJIKey&lt;R&gt; 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"> &lt;Result&gt; Result getValue(DJIKey&lt;Result&gt; 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"> &lt;R&gt; R getValue(DJIKey&lt;R&gt; 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"> &lt;Param&gt; void setValue(DJIKey&lt;Param&gt; 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"> &lt;P&gt; void setValue(DJIKey&lt;P&gt; 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>

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">
Expand All @@ -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">
Expand Down Expand Up @@ -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",
Expand Down
Loading

0 comments on commit dbbd5ad

Please sign in to comment.