blob: 3fbb5b8c7e0b5f1b7369d32c7ae8ef2e1b93ad13 [file] [log] [blame]
package androidx.media.heifwriter {
public final class HeifWriter implements java.lang.AutoCloseable {
ctor public HeifWriter(java.lang.String, int, int, boolean, int, int, int, int, android.os.Handler) throws java.io.IOException;
ctor public HeifWriter(java.io.FileDescriptor, int, int, boolean, int, int, int, int, android.os.Handler) throws java.io.IOException;
method public void addBitmap(android.graphics.Bitmap);
method public void addYuvBuffer(int, byte[]);
method public void close();
method public android.view.Surface getInputSurface();
method public void setInputEndOfStreamTimestamp(long);
method public void start();
method public void stop(long) throws java.lang.Exception;
field public static final int INPUT_MODE_BITMAP = 2; // 0x2
field public static final int INPUT_MODE_BUFFER = 0; // 0x0
field public static final int INPUT_MODE_SURFACE = 1; // 0x1
}
}