1package androidx.heifwriter {
2
3  public final class HeifWriter implements java.lang.AutoCloseable {
4    method public void addBitmap(android.graphics.Bitmap);
5    method public void addYuvBuffer(int, byte[]);
6    method public void close();
7    method public android.view.Surface getInputSurface();
8    method public void setInputEndOfStreamTimestamp(long);
9    method public void start();
10    method public void stop(long) throws java.lang.Exception;
11    field public static final int INPUT_MODE_BITMAP = 2; // 0x2
12    field public static final int INPUT_MODE_BUFFER = 0; // 0x0
13    field public static final int INPUT_MODE_SURFACE = 1; // 0x1
14  }
15
16  public static final class HeifWriter.Builder {
17    ctor public HeifWriter.Builder(java.lang.String, int, int, int);
18    ctor public HeifWriter.Builder(java.io.FileDescriptor, int, int, int);
19    method public androidx.heifwriter.HeifWriter build() throws java.io.IOException;
20    method public androidx.heifwriter.HeifWriter.Builder setGridEnabled(boolean);
21    method public androidx.heifwriter.HeifWriter.Builder setHandler(android.os.Handler);
22    method public androidx.heifwriter.HeifWriter.Builder setMaxImages(int);
23    method public androidx.heifwriter.HeifWriter.Builder setPrimaryIndex(int);
24    method public androidx.heifwriter.HeifWriter.Builder setQuality(int);
25    method public androidx.heifwriter.HeifWriter.Builder setRotation(int);
26  }
27
28}
29
30