Interface Video

  • All Known Implementing Classes:
    Video.CppProxy

    public interface Video
    Class, represents video texture interface. Subclass of image, also subclass of media.
    • Method Detail

      • getCurrentVideo

        @NonNull
        java.lang.String getCurrentVideo()
        Returns:
        current loaded video file (string).
      • getWidth

        int getWidth()
        Returns:
        current loaded video pixels width (int).
      • getHeight

        int getHeight()
        Returns:
        current loaded video pixels height (int).
      • load

        void load​(@NonNull
                  java.lang.String videoPath,
                  @Nullable
                  VideoLoadingResultListener onLoadingFinished)
        Load video file for decoding.
        Parameters:
        file_name - (string): absolute path for video file.
      • loadByFd

        void loadByFd​(int fd,
                      @Nullable
                      VideoLoadingResultListener onLoadingFinished)
        Load video file for decoding by file descriptor.
        Parameters:
        fd - (i32): file descriptor, should be closed on the caller side.
      • asMedia

        @Nullable
        Media asMedia()
        cast video to media parent class (media).
      • asImage

        @Nullable
        Image asImage()
        Returns:
        upcast to image type
      • getRotationAngle

        float getRotationAngle()
        Video own rotation angle
      • setFilteringMode

        void setFilteringMode​(@NonNull
                              TextureFilteringMode value)
        set gpu video texture filtering mode param mode (texture_filtering_mode)
      • getFilteringMode

        @NonNull
        TextureFilteringMode getFilteringMode()
        Returns:
        filtering mode (texture_filtering_mode)