call_create_partition


Description:

[ CCode ( async_result_pos = 2.1 ) ]
public async bool call_create_partition (uint64 arg_offset, uint64 arg_size, string arg_type, string arg_name, Variant arg_options, Cancellable? cancellable, out string out_created_partition) throws Error

Asynchronously invokes the CreatePartition D-Bus method on this.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from. You can then call call_create_partition.end to get the result of the operation.

See call_create_partition_sync for the synchronous, blocking version of this method.

Parameters:

this

A PartitionTableProxy.

arg_offset

Argument to pass with the method invocation.

arg_size

Argument to pass with the method invocation.

arg_type

Argument to pass with the method invocation.

arg_name

Argument to pass with the method invocation.

arg_options

Argument to pass with the method invocation.

cancellable

A Cancellable or null.

callback

A TaskReadyCallback to call when the request is satisfied or null.

user_data

User data to pass to callback.