Commit 03549640 authored by Katie Laverty's avatar Katie Laverty

Updated the documentation for Player

parent 2d0a55ec
......@@ -298,9 +298,14 @@
<code>
Source
</code>
property, which can be set in the Designer or in the Blocks Editor. The length of
property, which can be set in the Designer or in the Blocks Editor. To use a Player for
streaming, set the
<code>
Source
</code>
inside the Blocks Editor to a text block with the URL. The length of
time for a vibration is specified in the Blocks Editor in milliseconds (thousandths
of a second).
of a second). The volume should be an integer between 0 and 100.
</p>
<p>
See
......@@ -322,6 +327,22 @@
Properties
</h3>
<dl>
<dt>
<code>
IsLooping
</code>
</dt>
<dd>
If set, the media is looping.
</dd>
<dt>
<code>
IsPlaying
</code>
</dt>
<dd>
Whether the media is playing.
</dd>
<dt>
<code>
Source
......@@ -330,6 +351,14 @@
<dd>
Audio or video file associated with this player.
</dd>
<dt>
<code>
Volume
</code>
</dt>
<dd>
A number between 0 and 100.
</dd>
</dl>
<h3>
Methods
......@@ -368,6 +397,19 @@
Activate the phone's vibration motor for the given number of milliseconds.
</dd>
</dl>
<h3>
Events
</h3>
<dl>
<dt>
<code>
Completed()
</code>
</dt>
<dd>
Media has finished playing.
</dd>
</dl>
<h2 id="Sound">
Sound
</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