setMetadata

abstract fun setMetadata(metadata: Array<Byte>, callback: AsyncOperationResultCallback)

Sets arbitrary binary region metadata for the region. Note that this setter is asynchronous and the given metadata is applied only after the resulting callback is invoked with no error.

Parameters

callback

Called once the request is complete or an error occurred.

metadata

The metadata associated with the region.