relocateResource

abstract fun relocateResource(currentUri: Uri, relocatedUri: Uri)

Changes the uri associated with a resource. Note: This function can be used change the Uri of a resource that has been relocated (e.g., to a CDN). Relocating the Uri of a document color profile also repoints the profile. A setDocumentColorProfile request for that Uri that is still loading commits the new Uri once it loads.

Parameters

currentUri

the current Uri of the resource.

relocatedUri

the new Uri of the resource.