NS services: Difference between revisions

Line 473: Line 473:
| 1 || GenerateApplicationRecordCount
| 1 || GenerateApplicationRecordCount
|-
|-
| 2 || GetApplicationRecordUpdateSystemEvent
| 2 || [[#GetApplicationRecordUpdateSystemEvent]]
|-
|-
| 3 || GetApplicationViewDeprecated
| 3 || GetApplicationViewDeprecated
|-
|-
| 4 || DeleteApplicationEntity
| 4 || [[#DeleteApplicationEntity]]
|-
|-
| 5 || DeleteApplicationCompletely
| 5 || [[#DeleteApplicationCompletely]]
|-
|-
| 6 || IsAnyApplicationEntityRedundant
| 6 || IsAnyApplicationEntityRedundant
|-
|-
| 7 || DeleteRedundantApplicationEntity
| 7 || [[#DeleteRedundantApplicationEntity]]
|-
|-
| 8 || IsApplicationEntityMovable
| 8 || [[#IsApplicationEntityMovable]]
|-
|-
| 9 || MoveApplicationEntity
| 9 || [[#MoveApplicationEntity]]
|-
|-
| 11 || CalculateApplicationOccupiedSize
| 11 || CalculateApplicationOccupiedSize
Line 511: Line 511:
| 31 || [1.0.0-3.0.2]  
| 31 || [1.0.0-3.0.2]  
|-
|-
| 32 || CancelApplicationDownload
| 32 || [[#CancelApplicationDownload]]
|-
|-
| 33 || ResumeApplicationDownload
| 33 || [[#ResumeApplicationDownload]]
|-
|-
| 35 || UpdateVersionList
| 35 || UpdateVersionList
Line 521: Line 521:
| 37 || ListRequiredVersion
| 37 || ListRequiredVersion
|-
|-
| 38 || CheckApplicationLaunchVersion
| 38 || [[#CheckApplicationLaunchVersion]]
|-
|-
| 39 || [1.0.0-6.2.0] CheckApplicationLaunchRights
| 39 || [1.0.0-6.2.0] CheckApplicationLaunchRights
Line 529: Line 529:
| 41 || CalculateApplicationDownloadRequiredSize
| 41 || CalculateApplicationDownloadRequiredSize
|-
|-
| 42 || CleanupSdCard
| 42 || [[#CleanupSdCard]]
|-
|-
| 43 || CheckSdCardMountStatus
| 43 || CheckSdCardMountStatus
Line 545: Line 545:
| 49 || GetSdCardRemovedEvent
| 49 || GetSdCardRemovedEvent
|-
|-
| 52 || GetGameCardUpdateDetectionEvent
| 52 || [[#GetGameCardUpdateDetectionEvent]]
|-
|-
| 53 || DisableApplicationAutoDelete
| 53 || [[#DisableApplicationAutoDelete]]
|-
|-
| 54 || EnableApplicationAutoDelete
| 54 || [[#EnableApplicationAutoDelete]]
|-
|-
| 55 || GetApplicationDesiredLanguage
| 55 || GetApplicationDesiredLanguage
|-
|-
| 56 || SetApplicationTerminateResult
| 56 || [[#SetApplicationTerminateResult]]
|-
|-
| 57 || ClearApplicationTerminateResult
| 57 || [[#ClearApplicationTerminateResult]]
|-
|-
| 58 || GetLastSdCardMountUnexpectedResult
| 58 || [[#GetLastSdCardMountUnexpectedResult]]
|-
|-
| 59 || ConvertApplicationLanguageToLanguageCode
| 59 || ConvertApplicationLanguageToLanguageCode
Line 945: Line 945:


[4.0.0+] RequestDownloadAddOnContent now takes an additional 8-bytes of input.
[4.0.0+] RequestDownloadAddOnContent now takes an additional 8-bytes of input.
==== GetApplicationRecordUpdateSystemEvent ====
No input, returns an output Event handle with EventClearMode=1.
==== DeleteApplicationEntity ====
Takes an input [[NCM_services#ApplicationId|ApplicationId]], no output.
==== DeleteApplicationCompletely ====
Takes an input [[NCM_services#ApplicationId|ApplicationId]], no output.
==== DeleteRedundantApplicationEntity ====
No input/output.
==== IsApplicationEntityMovable ====
Takes an input u8 [[NCM_services#StorageId|StorageId]], an [[NCM_services#ApplicationId|ApplicationId]], returns an output u8 bool.
==== MoveApplicationEntity ====
Takes an input u8 [[NCM_services#StorageId|StorageId]], an [[NCM_services#ApplicationId|ApplicationId]], no output.


==== RequestApplicationUpdateInfo ====
==== RequestApplicationUpdateInfo ====
Line 950: Line 968:


The data that can be read from the [[#IAsyncValue]] is [[#ApplicationUpdateInfo]].
The data that can be read from the [[#IAsyncValue]] is [[#ApplicationUpdateInfo]].
==== CancelApplicationDownload ====
Takes an input [[NCM_services#ApplicationId|ApplicationId]], no output.
==== ResumeApplicationDownload ====
Takes an input [[NCM_services#ApplicationId|ApplicationId]], no output.
==== CheckApplicationLaunchVersion ====
Takes an input [[NCM_services#ApplicationId|ApplicationId]], no output.
==== CalculateApplicationDownloadRequiredSize ====
Takes an input u8 [[NCM_services#StorageId|StorageId]], an [[NCM_services#ApplicationId|ApplicationId]], returns an output s64.
==== CleanupSdCard ====
No input/output.
==== GetSdCardMountStatusChangedEvent ====
No input, returns an output Event handle with EventClearMode=0.
==== GetGameCardUpdateDetectionEvent ====
No input, returns an output Event handle with EventClearMode=0.
==== DisableApplicationAutoDelete ====
Takes an input [[NCM_services#ApplicationId|ApplicationId]], no output.
==== EnableApplicationAutoDelete ====
Takes an input [[NCM_services#ApplicationId|ApplicationId]], no output.
==== SetApplicationTerminateResult ====
Takes an input Result, an [[NCM_services#ApplicationId|ApplicationId]], no output.
==== ClearApplicationTerminateResult ====
Takes an input [[NCM_services#ApplicationId|ApplicationId]], no output.
==== GetLastSdCardMountUnexpectedResult ====
No input/output.


==== LaunchDevMenu ====
==== LaunchDevMenu ====