lib/complexTypes/MediaFlowState.js
function checkMediaFlowState(key, value)
{
  if(typeof value != 'string')
    throw SyntaxError(key+' param should be a String, not '+typeof value);

  if(!value.match('FLOWING|NOT_FLOWING'))
    throw SyntaxError(key+' param is not one of [FLOWING|NOT_FLOWING] ('+value+')');
}
function checkMediaFlowState(key, value)
{
  if(typeof value != 'string')
    throw SyntaxError(key+' param should be a String, not '+typeof value);

  if(!value.match('FLOWING|NOT_FLOWING'))
    throw SyntaxError(key+' param is not one of [FLOWING|NOT_FLOWING] ('+value+')');
}
function checkMediaFlowState ( key , value ) { if ( typeof value != 'string' ) throw SyntaxError ( key + ' param should be a String, not ' + typeof value ) ; if ( ! value . match ( 'FLOWING|NOT_FLOWING' ) ) throw SyntaxError ( key + ' param is not one of [FLOWING|NOT_FLOWING] (' + value + ')' ) ; }
Flowing state of the media.

@typedef core/complexTypes.MediaFlowState

@type {(FLOWING|NOT_FLOWING)}
 
Checker for {@link module:core/complexTypes.MediaFlowState}

@memberof module:core/complexTypes

@param {external:String} key
@param {module:core/complexTypes.MediaFlowState} value
Flowing state of the media .