Virtual Method

IdeDeployStrategydeploy_async

Declaration

void
deploy_async (
  IdeDeployStrategy* self,
  IdePipeline* pipeline,
  GFileProgressCallback progress,
  gpointer progress_data,
  GDestroyNotify progress_data_destroy,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description

Requests that the IdeDeployStrategy deploy the application to the configured device in the build pipeline.

If supported, the strategy will call progress with periodic updates as the application is deployed.

Parameters

pipeline

Type: IdePipeline

An IdePipeline.

The data is owned by the caller of the function.
progress

Type: GFileProgressCallback

a GFileProgressCallback or NULL.

progress_data

Type: gpointer

Closure data for progress or NULL.

The argument can be NULL.
The data is owned by the caller of the function.
progress_data_destroy

Type: GDestroyNotify

Destroy callback for progress_data.

cancellable

Type: GCancellable

A GCancellable or NULL.

The argument can be NULL.
The data is owned by the caller of the function.
callback

Type: GAsyncReadyCallback

A callback to execute upon completion.

user_data

Type: gpointer

Closure data for callback.

The argument can be NULL.
The data is owned by the caller of the function.