Interface NativeMediaStatus


@JsType(isNative=true, name="ng.NativeMediaStatus", namespace="<global>") public interface NativeMediaStatus
Current state of the native media player.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    double
    Public NativeMediaStatus.duration member exposed by the AngularTS namespace contract.
    double
    Public NativeMediaStatus.position member exposed by the AngularTS namespace contract.
    Public NativeMediaStatus.state member exposed by the AngularTS namespace contract.
    boolean
    Public NativeMediaStatus.available member exposed by the AngularTS namespace contract.
    boolean
    Public NativeMediaStatus.loaded member exposed by the AngularTS namespace contract.
    boolean
    Public NativeMediaStatus.playing member exposed by the AngularTS namespace contract.
    void
    setAvailable(boolean available)
    Public NativeMediaStatus.available member exposed by the AngularTS namespace contract.
    void
    setDuration(double duration)
    Public NativeMediaStatus.duration member exposed by the AngularTS namespace contract.
    void
    setLoaded(boolean loaded)
    Public NativeMediaStatus.loaded member exposed by the AngularTS namespace contract.
    void
    setPlaying(boolean playing)
    Public NativeMediaStatus.playing member exposed by the AngularTS namespace contract.
    void
    setPosition(double position)
    Public NativeMediaStatus.position member exposed by the AngularTS namespace contract.
    void
    Public NativeMediaStatus.state member exposed by the AngularTS namespace contract.
  • Method Details

    • create

      @JsOverlay static NativeMediaStatus 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

      @JsProperty String 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

      @JsProperty void setState(String state)
      Public NativeMediaStatus.state member exposed by the AngularTS namespace contract.