Method

IdeRuntimeProviderbootstrap_runtime

Declaration

DexFuture*
ide_runtime_provider_bootstrap_runtime (
  IdeRuntimeProvider* self,
  IdePipeline* pipeline
)

Description

Locates and installs the necessary runtime for pipeline if possible.

The future must either resolve with an IdeRuntime or reject with error.

Parameters

pipeline

Type: IdePipeline

An IdePipeline.

The data is owned by the caller of the method.

Return value

Type: DexFuture

A DexFuture that resolves an IdeRuntime or rejects with error.

The caller of the method takes ownership of the data, and is responsible for freeing it.