ECTitleInfo

Easily accessible title metadata

ECTitleInfo represents information available about a title in a JavaScript-accessible, read-only method. Some data is sourced from the TMD. Properties may only be retrieved, not set.

You most likely do not want to instantiate this object yourself. Instead, prefer querying one directly from ECommerceInterface. For example:

var info = ec.getTitleInfo('0000000100000002');

Properties

Property NameDiscussion

info.titleId

The title ID this object represents.

info.isOnDevice

Whether this title is present on the console. It is unclear on when this may ever be false, as attempting to query a title not present on the console will return -4050.

info.isTmdPresent

Whether a TMD is available for this title. This may be possible if the user has removed the title, but its ticket is still present - i.e. removed via the System Menu.

info.version

The version of this title.

info.occupiedUserBlocks

The amount of blocks this title uses.

info.occupiedUserInodes

The number of inodes taken up by this title.

info.occupiedSysBlocks

The amount of system-reserved blocks this title utilizes.

info.occupiedSysInodes

The amount of system-reserved inodes used by this title.

ECTitleInfos

ECTitleInfos manages multiple of a ECTitleInfo. It is intended to be immutable, and cannot be set in any fashion.

Similar to ECTitleInfo, it's undesirable to instantiate one yourself. ECommerceInterface similarly provides a way to acquire one yourself. For example, to acquire title info for all available titles on the console:

var infos = ec.getTitleInfos();

Properties

Property NameDiscussion

infos.length

The amount of titles within this array.

infos.get(index)

Returns the ECTitleInfo at the given index.

infos.set

This array is considered immutable. Despite it existing, attempting to call or access this property results in an error.

Last updated