Interface LottieFetchResult

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable
    All Known Implementing Classes:
    DefaultLottieFetchResult

    public interface LottieFetchResult
    extends java.io.Closeable
    The result of the operation of obtaining a Lottie animation
    • Method Detail

      • isSuccessful

        boolean isSuccessful()
        Returns:
        Is the operation successful
      • bodyByteStream

        @NonNull
        java.io.InputStream bodyByteStream()
                                    throws java.io.IOException
        Returns:
        Received content stream
        Throws:
        java.io.IOException
      • contentType

        @Nullable
        java.lang.String contentType()
        Returns:
        Type of content received
      • error

        @Nullable
        java.lang.String error()
        Returns:
        Operation error