ResourceDescriptor

public final class ResourceDescriptor extends AbstractSafeParcelable

This class is deprecated.
ExternalCache and ResourceDescriptor will be removed in a future NavSDK release.

Resource descriptor for use with ExternalCache.

Note that the external cache is only meant for image resource, so the API implementation hardcodes the resource type. If this needs to be generalized, update this class to return the type and data instead of just the raw bytes.

Inherited Constant Summary

Field Summary

public final byte[] resourceData

Public Constructor Summary

ResourceDescriptor(byte[] resourceData)
Constructs a ResourceDescriptor.

Inherited Method Summary

Fields

public final byte[] resourceData

Public Constructors

public ResourceDescriptor (byte[] resourceData)

Constructs a ResourceDescriptor.

Parameters
resourceData Byte array with actual resource data. Must be an image resource.