Nuke.Unreal
Build Unreal apps in Style.
Loading...
Searching...
No Matches
Nuke.Unreal.Platforms.Android.AndroidSdk Class Referenceabstract

Base class for managing Android SDK on any host platform. More...

Inheritance diagram for Nuke.Unreal.Platforms.Android.AndroidSdk:
Nuke.Unreal.Platforms.IPlatformSdk Nuke.Unreal.Platforms.Android.WindowsHostsAndroid

Public Member Functions

Task Setup (IUnrealBuild build)
 
bool IsValid (IUnrealBuild build)
 Would this SDK be ever valid for the given Unreal project. This check is done before Setup is called. It shouldn't yet check if SDK is available locally, only that it can be made available at some point in the future. For checking if an installed SDK is available locally use Exists
 
AbsolutePath GetSdkPath (IUnrealBuild build)
 The root of the currently used platform SDK in the file system, if there's one.
 
PlatformSdkXMakeData GetXMakeData (IUnrealBuild build)
 If applicable and XMake can work with the toolchains provided by this SDK, return information for it how to do so.
 
AbsolutePath GetAndroidHome (IUnrealBuild build)
 
AbsolutePath GetNdkPath (IUnrealBuild build)
 
AbsolutePath GetBuildToolsPath (IUnrealBuild build)
 
AbsolutePath GetPlatformToolsPath (IUnrealBuild build)
 
ToolEx GetApkSigner (IUnrealBuild build)
 
ToolEx GetAdb (IUnrealBuild build)
 
- Public Member Functions inherited from Nuke.Unreal.Platforms.IPlatformSdk
AbsolutePath GetSdkVersionsPath (IUnrealBuild build)
 A shared user folder for this SDK version, owned by Nuke.Unreal. This may be a parent folder to store all the separate SDK versions. To get the path directly to the currently used SDK use GetSdkPath
 
AbsolutePath GetToolchainPath (IUnrealBuild build)
 Get the path to a C++ toolchain folder which may be used to compile external C++ code with to maintain ABI compatibility if that code needs to link with Unreal.
 
bool Exists (IUnrealBuild build)
 Whether a valid platform SDK exists locally for given project, and is ready to use without further downloading and installation.
 

Static Public Member Functions

static ? AndroidSdkVersion GetSdkVersions (string unrealVersion)
 
static ? AndroidSdkVersion GetSdkVersions (IUnrealBuild build)
 
static AndroidSdkVersion GetSdkVersionsChecked (IUnrealBuild build)
 

Properties

UnrealPlatform Host [get]
 The platform used for development, hosting this SDK to cross-compile target platform.
 
UnrealPlatform Target [get]
 The platform targeted by given SDK.
 
- Properties inherited from Nuke.Unreal.Platforms.IPlatformSdk

Detailed Description

Base class for managing Android SDK on any host platform.

Definition at line 34 of file AndroidSdk.cs.

Member Function Documentation

◆ GetSdkPath()

AbsolutePath Nuke.Unreal.Platforms.Android.AndroidSdk.GetSdkPath ( IUnrealBuild build)
abstract

The root of the currently used platform SDK in the file system, if there's one.

Implements Nuke.Unreal.Platforms.IPlatformSdk.

◆ GetXMakeData()

PlatformSdkXMakeData Nuke.Unreal.Platforms.Android.AndroidSdk.GetXMakeData ( IUnrealBuild build)
abstract

If applicable and XMake can work with the toolchains provided by this SDK, return information for it how to do so.

Parameters
build
Returns

Implements Nuke.Unreal.Platforms.IPlatformSdk.

◆ IsValid()

bool Nuke.Unreal.Platforms.Android.AndroidSdk.IsValid ( IUnrealBuild build)
abstract

Would this SDK be ever valid for the given Unreal project. This check is done before Setup is called. It shouldn't yet check if SDK is available locally, only that it can be made available at some point in the future. For checking if an installed SDK is available locally use Exists

Implements Nuke.Unreal.Platforms.IPlatformSdk.

◆ Setup()

Task Nuke.Unreal.Platforms.Android.AndroidSdk.Setup ( IUnrealBuild build)
abstract

Initial setup done when the SDK is first needed by a task in Nuke.Unreal. Download and install SDK files here and point Unreal to it via setting process environment variables for example. Even if an SDK is already downloaded and installed this Setup function would still need to connect Unreal to that.

This method can be called multiple times, not only at initialization. Implementations should tread accordingly.

Parameters
buildCurrent Unreal project, set or get data from it, as that's necessary for this platform SDK
Returns
As this can be a long-running process, implementation is recommended to be async

Implements Nuke.Unreal.Platforms.IPlatformSdk.

Property Documentation

◆ Host

UnrealPlatform Nuke.Unreal.Platforms.Android.AndroidSdk.Host
getabstract

The platform used for development, hosting this SDK to cross-compile target platform.

Implements Nuke.Unreal.Platforms.IPlatformSdk.

Definition at line 97 of file AndroidSdk.cs.

◆ Target

UnrealPlatform Nuke.Unreal.Platforms.Android.AndroidSdk.Target
getabstract

The platform targeted by given SDK.

Implements Nuke.Unreal.Platforms.IPlatformSdk.

Definition at line 98 of file AndroidSdk.cs.


The documentation for this class was generated from the following file: