Commit af647ed4 by kimvde Committed by Ian Baker

Remove Transformer deprecated methods that were never released

#minor-release

PiperOrigin-RevId: 427965501
parent 1ddfe194
......@@ -26,7 +26,6 @@ import static java.lang.Math.min;
import static java.lang.annotation.ElementType.TYPE_USE;
import android.content.Context;
import android.graphics.Matrix;
import android.os.Handler;
import android.os.Looper;
import android.os.ParcelFileDescriptor;
......@@ -223,24 +222,6 @@ public final class Transformer {
return this;
}
/** @deprecated Use {@link TransformationRequest.Builder#setResolution(int)} instead. */
@Deprecated
public Builder setResolution(int outputHeight) {
transformationRequest = transformationRequest.buildUpon().setResolution(outputHeight).build();
return this;
}
/**
* @deprecated Use {@link TransformationRequest.Builder#setTransformationMatrix(Matrix)}
* instead.
*/
@Deprecated
public Builder setTransformationMatrix(Matrix transformationMatrix) {
transformationRequest =
transformationRequest.buildUpon().setTransformationMatrix(transformationMatrix).build();
return this;
}
/**
* @deprecated This feature will be removed in a following release and the MIME type of the
* output will always be MP4.
......@@ -251,22 +232,6 @@ public final class Transformer {
return this;
}
/** @deprecated Use {@link TransformationRequest.Builder#setVideoMimeType(String)} instead. */
@Deprecated
public Builder setVideoMimeType(String videoMimeType) {
transformationRequest =
transformationRequest.buildUpon().setVideoMimeType(videoMimeType).build();
return this;
}
/** @deprecated Use {@link TransformationRequest.Builder#setAudioMimeType(String)} instead. */
@Deprecated
public Builder setAudioMimeType(String audioMimeType) {
transformationRequest =
transformationRequest.buildUpon().setAudioMimeType(audioMimeType).build();
return this;
}
/**
* @deprecated Use {@link #addListener(Listener)}, {@link #removeListener(Listener)} or {@link
* #removeAllListeners()} instead.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment