setMetadata

open fun setMetadata(@NonNull metadata: Array<Byte>, @NonNull 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

metadata

The metadata associated with the region.

callback

Called once the request is complete or an error occurred.