delete

abstract suspend fun delete(context: Context): ApiResult<Int>

Deletes the current process and destroys the current process stack, so it will not be used anymore.

This operation will be synchronized with other client Apps.

If the current process is under control of user, a request will be sent automatically in order to release the control.

Return

ApiResult : ApiResult.Success if the operation successfully completed, or ApiResult.Error otherwise.

Parameters

context

Context The application context.