Commit 20b76bf2 authored by ylwu's avatar ylwu

update documentation and version number

parent a5171e51
...@@ -174,8 +174,10 @@ public class YaVersion { ...@@ -174,8 +174,10 @@ public class YaVersion {
// - LOCATIONSENSOR_COMPONENT_VERSION was incremented to 2 // - LOCATIONSENSOR_COMPONENT_VERSION was incremented to 2
// For YOUNG_ANDROID_VERSION 57: // For YOUNG_ANDROID_VERSION 57:
// - PLAYER_COMPONENT_VERSION was incremented to 4. // - PLAYER_COMPONENT_VERSION was incremented to 4.
// For YOUNG_ANDROID_VERSION 58:
// The Camcorder component was added.
public static final int YOUNG_ANDROID_VERSION = 57; public static final int YOUNG_ANDROID_VERSION = 58;
// ............................... Blocks Language Version Number ............................... // ............................... Blocks Language Version Number ...............................
......
...@@ -38,6 +38,11 @@ ...@@ -38,6 +38,11 @@
Media Components Media Components
</h1> </h1>
<ul> <ul>
<li>
<a href="#Camcorder">
Camcorder
</a>
</li>
<li> <li>
<a href="#Camera"> <a href="#Camera">
Camera Camera
...@@ -64,6 +69,54 @@ ...@@ -64,6 +69,54 @@
</a> </a>
</li> </li>
</ul> </ul>
<h2 id="Camcorder">
Camcorder
</h2>
<img alt="" src="images/camcorder.png" />
<p>
Use a camcorder component to record a video on the phone.
</p>
<p>
Camcorder is a non-visible component that records a video using the device's camera.
After the video is recorded, the path to the file on the phone containing the
video is available as an argument to the AfterRecording event. The path can be
used, for example, as the source of an VideoPlayer component.
</p>
<h3>
Properties
</h3>
none
<h3>
Methods
</h3>
<dl>
<dt>
<code>
RecordVideo()
</code>
</dt>
<dd>
Opens the phone's camera to allow a video to be recorded.
</dd>
</dl>
<h3>
Events
</h3>
<dl>
<dt>
<code>
AfterRecording(Text clip)
</code>
</dt>
<dd>
Called after the video is recorded. The text argument
<code>
clip
</code>
is the
path that can be used to locate the video on the phone.
</dd>
</dl>
<h2 id="Camera"> <h2 id="Camera">
Camera Camera
</h2> </h2>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment