[ Version ( since = "0.1.3" ) ]
public bool add_profile_sync (DeviceRelation relation, Profile profile, Cancellable? cancellable = null) throws Error
Adds a profile to a device.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
this |
a Device instance. |
relation |
a DeviceRelation, e.g. HARD |
profile |
a Profile instance |
cancellable |
a Cancellable or null |
true for success, else false. |