Class Index | File Index

## Classes

- _global_
- jQuery.fn.minplayer
- minplayer.async
- minplayer.compatibility
- minplayer.display
- minplayer.file
- minplayer.flags
- minplayer.image
- minplayer.players.base
- minplayer.players.flash
- minplayer.players.html5
- minplayer.players.minplayer
- minplayer.players.vimeo
- minplayer.players.youtube
- minplayer.plugin

# Class minplayer.async

This class keeps track of asynchronous get requests for certain variables within the player.
Defined in: minplayer.async.js.

Class Summary
Constructor Attributes | Constructor Name and Description
--- | ---
| minplayer.async()

Field Summary
Field Attributes | Field Name and Description
--- | ---
| queue The queue of callbacks to call when this value is determined.
| value The final value of this asynchronous variable.

Method Summary
Method Attributes | Method Name and Description
--- | ---
| get(callback, pollValue) Retrieve the value of this variable.
| set(val) Sets the value of an asynchronous value.

Class Detail
minplayer.async()
Field Detail
queue
The queue of callbacks to call when this value is determined.

value
The final value of this asynchronous variable.
Method Detail
get(callback, pollValue)
Retrieve the value of this variable.

Parameters:
{function} callback
  The function to call when the value is determined.
{function} pollValue
  The poll function to try and get the value every 1 second if the value is not set.

set(val)
Sets the value of an asynchronous value.

Parameters:
{void} val
  The value to set.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Oct 04 2012 19:54:20 GMT-0700 (PDT)