Top | ![]() |
![]() |
![]() |
![]() |
gdouble | ide_device_manager_get_progress () |
IdeDevice * | ide_device_manager_get_device () |
void | ide_device_manager_set_device () |
IdeDevice * | ide_device_manager_get_device_by_id () |
void | ide_device_manager_deploy_async () |
gboolean | ide_device_manager_deploy_finish () |
gdouble
ide_device_manager_get_progress (IdeDeviceManager *self
);
IdeDevice *
ide_device_manager_get_device (IdeDeviceManager *self
);
Gets the currently selected device. Usually, this is an IdeLocalDevice.
Since: 3.28
void ide_device_manager_set_device (IdeDeviceManager *self
,IdeDevice *device
);
Sets the “device” property, which is the currently selected device. Builder uses this to determine how to build the current project for the devices architecture and operating system.
If device
is NULL
, the local device will be used.
Since: 3.28
IdeDevice * ide_device_manager_get_device_by_id (IdeDeviceManager *self
,const gchar *device_id
);
Fetches the first device that matches the device identifier device_id
.
void ide_device_manager_deploy_async (IdeDeviceManager *self
,IdeBuildPipeline *pipeline
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Requests that the application be deployed to the device. This may need to be done before running the application so that the device has the most up to date build.
self |
||
pipeline |
||
cancellable |
a GCancellable, or |
|
callback |
a GAsyncReadyCallback |
|
user_data |
closure data for |
Since: 3.28
gboolean ide_device_manager_deploy_finish (IdeDeviceManager *self
,GAsyncResult *result
,GError **error
);
Completes a request to deploy the application to the device.
Since: 3.28
“device”
property“device” IdeDevice *
The "device" property indicates the currently selected device by the user. This is the device we will try to deploy to when running, and execute the application on.
Flags: Read / Write
Since: 3.28
“deploy-finished”
signalvoid user_function (IdeDeviceManager *idedevicemanager, gpointer user_data)
Flags: Run Last
“deploy-started”
signalvoid user_function (IdeDeviceManager *idedevicemanager, gpointer user_data)
Flags: Run Last