![]() |
API
0.9.7
|
#import <CPSound.h>
Instance Methods | |
(id) | - delegate |
(double) | - duration |
(id) | - init |
(id) | - initWithContentsOfFile:byReference: |
(id) | - initWithContentsOfURL:byReference: |
(id) | - initWithData: |
(BOOL) | - isPlaying |
(BOOL) | - loops |
(CPString) | - name |
(BOOL) | - pause |
(BOOL) | - play |
(BOOL) | - resume |
(void) | - setDelegate: |
(void) | - setLoops: |
(void) | - setName: |
(void) | - setVolume: |
(BOOL) | - stop |
(double) | - volume |
CPSound provides a way to load and play sounds. In the browser it relies on the HTML5 audio tag being available.
CPSound delegate:
|
implementation |
Synthesized accessor method.
Provided by category CPSound(CPSynthesizedAccessors).
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
|
implementation |
Synthesized accessor method.
Provided by category CPSound(CPSynthesizedAccessors).
|
implementation |
|
implementation |
|
implementation |
|
implementation |
Synthesized accessor method.
Provided by category CPSound(CPSynthesizedAccessors).
|
implementation |
|
implementation |
Synthesized accessor method.
Provided by category CPSound(CPSynthesizedAccessors).
|
implementation |
|
implementation |
|
implementation |