fileOwnershipChange

abstract fun fileOwnershipChange(fileDescriptor: RainbowFileDescriptor, ownerId: String, listener: RainbowListener<RainbowFileDescriptor, FileRepository.ChangeOwnershipError>? = null)

Drops the ownership to another Rainbow user of the same company The user must be in the same company and allowed by administrator

Parameters

fileDescriptor

RainbowFileDescriptor the RainbowFileDescriptor to change ownership

ownerId

String the unique identifier of the target owner of the file

listener

RainbowListener<RainbowFileDescriptor, FileRepository.ChangeOwnershipError> callback (onSuccess, onError)