IResourceLoadingArgs
public interface IResourceLoadingArgs
Interface for external resource loading arguments.
Methods
Method | Description |
---|---|
getOriginalUri() | Original URI of the resource as specified in imported presentation. |
getUri() | URI of the resource which is used for downloading if IResourceLoadingCallback.resourceLoading(IResourceLoadingArgs) returns ResourceLoadingAction.Default. |
setUri(String value) | URI of the resource which is used for downloading if IResourceLoadingCallback.resourceLoading(IResourceLoadingArgs) returns ResourceLoadingAction.Default. |
setData(byte[] data) | Sets user provided data of the resource which used if IResourceLoadingCallback.resourceLoading(IResourceLoadingArgs) returns ResourceLoadingAction.UserProvided. |
getOriginalUri()
public abstract String getOriginalUri()
Original URI of the resource as specified in imported presentation.
Returns: java.lang.String
getUri()
public abstract String getUri()
URI of the resource which is used for downloading if IResourceLoadingCallback.resourceLoading(IResourceLoadingArgs) returns ResourceLoadingAction.Default. Initially it’s set to original URI of the resource, but can be redefined to any value.
Returns: java.lang.String
setUri(String value)
public abstract void setUri(String value)
URI of the resource which is used for downloading if IResourceLoadingCallback.resourceLoading(IResourceLoadingArgs) returns ResourceLoadingAction.Default. Initially it’s set to original URI of the resource, but can be redefined to any value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setData(byte[] data)
public abstract void setData(byte[] data)
Sets user provided data of the resource which used if IResourceLoadingCallback.resourceLoading(IResourceLoadingArgs) returns ResourceLoadingAction.UserProvided.
Parameters:
Parameter | Type | Description |
---|---|---|
data | byte[] | Provided data of the resource byte[] |