Class DeploymentDevice


  • public final class DeploymentDevice
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.android.sdklib.AndroidVersion getDeploymentDeviceAndroidVersion​(ProjectOptions options)
      Returns the Android Version for the target device, as injected by studio.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getDeploymentDeviceAndroidVersion

        @NonNull
        public static com.android.sdklib.AndroidVersion getDeploymentDeviceAndroidVersion​(@NonNull
                                                                                          ProjectOptions options)
        Returns the Android Version for the target device, as injected by studio.
        Parameters:
        options - the options for the project being built
        Returns:
        the Android version of the deployment device, as injected by studio, or AndroidVersion.DEFAULT if not set.