Skip to main content

1E 23.7 (SaaS)

Nomad.CachedPkgStatus

Method

CachedPkgStatus

Module

Nomad

Library

1E

Action

Get the percentage of the specified content in the local Nomad cache.

Parameters

ContentId (string): The ID of the content to query.

Return values

Percent (float): The percentage of the content cached on the named device.

ContentVersion (int): The version of the content on the named device.

Example

What percentage and version of content "Content_7f368e5f-4dbe-4027-ba81-c5463e372a0c" is in the local Nomad cache, if any?

Nomad.CachedPkgStatus(ContentId : "Content_7f368e5f-4dbe-4027-ba81-c5463e372a0c");

Platforms

  • Windows

Notes

No data is returned if the device does not have the requested content.

"Pkg" appears in the method name for historical reasons - the method works for any content in a Nomad cache.

See also RunPkgStatusRequest.