com.android.emulator.control.ImageFormatOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adam Show documentation
Show all versions of adam Show documentation
Android Debug Bridge helper
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: emulator_controller.proto
// Protobuf Java Version: 3.25.0
package com.android.emulator.control;
public interface ImageFormatOrBuilder extends
// @@protoc_insertion_point(interface_extends:android.emulation.control.ImageFormat)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* The (desired) format of the resulting bytes.
*
*
* .android.emulation.control.ImageFormat.ImgFormat format = 1;
* @return The enum numeric value on the wire for format.
*/
int getFormatValue();
/**
*
* The (desired) format of the resulting bytes.
*
*
* .android.emulation.control.ImageFormat.ImgFormat format = 1;
* @return The format.
*/
com.android.emulator.control.ImageFormat.ImgFormat getFormat();
/**
*
* [Output Only] The rotation of the image. The image will be rotated
* based upon the coarse grained orientation of the device.
*
*
* .android.emulation.control.Rotation rotation = 2;
* @return Whether the rotation field is set.
*/
boolean hasRotation();
/**
*
* [Output Only] The rotation of the image. The image will be rotated
* based upon the coarse grained orientation of the device.
*
*
* .android.emulation.control.Rotation rotation = 2;
* @return The rotation.
*/
com.android.emulator.control.Rotation getRotation();
/**
*
* The (desired) width of the image. When passed as input
* the image will be scaled to match the given
* width, while maintaining the aspect ratio of the device.
* The returned image will never exceed the given width, but can be less.
* Omitting this value (or passing in 0) will result in no scaling,
* and the width of the actual device will be used.
*
*
* uint32 width = 3;
* @return The width.
*/
int getWidth();
/**
*
* The (desired) height of the image. When passed as input
* the image will be scaled to match the given
* height, while maintaining the aspect ratio of the device.
* The returned image will never exceed the given height, but can be less.
* Omitting this value (or passing in 0) will result in no scaling,
* and the height of the actual device will be used.
*
*
* uint32 height = 4;
* @return The height.
*/
int getHeight();
/**
*
* The (desired) display id of the device. Setting this to 0 (or omitting)
* indicates the main display.
*
*
* uint32 display = 5;
* @return The display.
*/
int getDisplay();
/**
*
* Set this if you wish to use a different transport channel to deliver image
* frames.
*
*
* .android.emulation.control.ImageTransport transport = 6;
* @return Whether the transport field is set.
*/
boolean hasTransport();
/**
*
* Set this if you wish to use a different transport channel to deliver image
* frames.
*
*
* .android.emulation.control.ImageTransport transport = 6;
* @return The transport.
*/
com.android.emulator.control.ImageTransport getTransport();
}