Package org.angular.ts.ng
Interface NativeMediaStatus
@JsType(isNative=true,
name="ng.NativeMediaStatus",
namespace="<global>")
public interface NativeMediaStatus
Current state of the native media player.
-
Method Summary
Modifier and TypeMethodDescriptionstatic NativeMediaStatuscreate()doublePublic NativeMediaStatus.duration member exposed by the AngularTS namespace contract.doublePublic NativeMediaStatus.position member exposed by the AngularTS namespace contract.getState()Public NativeMediaStatus.state member exposed by the AngularTS namespace contract.booleanPublic NativeMediaStatus.available member exposed by the AngularTS namespace contract.booleanisLoaded()Public NativeMediaStatus.loaded member exposed by the AngularTS namespace contract.booleanPublic NativeMediaStatus.playing member exposed by the AngularTS namespace contract.voidsetAvailable(boolean available) Public NativeMediaStatus.available member exposed by the AngularTS namespace contract.voidsetDuration(double duration) Public NativeMediaStatus.duration member exposed by the AngularTS namespace contract.voidsetLoaded(boolean loaded) Public NativeMediaStatus.loaded member exposed by the AngularTS namespace contract.voidsetPlaying(boolean playing) Public NativeMediaStatus.playing member exposed by the AngularTS namespace contract.voidsetPosition(double position) Public NativeMediaStatus.position member exposed by the AngularTS namespace contract.voidPublic NativeMediaStatus.state member exposed by the AngularTS namespace contract.
-
Method Details
-
create
-
getDuration
@JsProperty double getDuration()Public NativeMediaStatus.duration member exposed by the AngularTS namespace contract. -
getPosition
@JsProperty double getPosition()Public NativeMediaStatus.position member exposed by the AngularTS namespace contract. -
getState
Public NativeMediaStatus.state member exposed by the AngularTS namespace contract. -
isAvailable
@JsProperty boolean isAvailable()Public NativeMediaStatus.available member exposed by the AngularTS namespace contract. -
isLoaded
@JsProperty boolean isLoaded()Public NativeMediaStatus.loaded member exposed by the AngularTS namespace contract. -
isPlaying
@JsProperty boolean isPlaying()Public NativeMediaStatus.playing member exposed by the AngularTS namespace contract. -
setAvailable
@JsProperty void setAvailable(boolean available) Public NativeMediaStatus.available member exposed by the AngularTS namespace contract. -
setDuration
@JsProperty void setDuration(double duration) Public NativeMediaStatus.duration member exposed by the AngularTS namespace contract. -
setLoaded
@JsProperty void setLoaded(boolean loaded) Public NativeMediaStatus.loaded member exposed by the AngularTS namespace contract. -
setPlaying
@JsProperty void setPlaying(boolean playing) Public NativeMediaStatus.playing member exposed by the AngularTS namespace contract. -
setPosition
@JsProperty void setPosition(double position) Public NativeMediaStatus.position member exposed by the AngularTS namespace contract. -
setState
Public NativeMediaStatus.state member exposed by the AngularTS namespace contract.
-