NS services: Difference between revisions
Line 972: | Line 972: | ||
The data that can be read from the [[#IAsyncValue]] is [[#ApplicationUpdateInfo]]. | The data that can be read from the [[#IAsyncValue]] is [[#ApplicationUpdateInfo]]. | ||
Before using the cmd, official sw uses [[Network_Interface_services#IsAnyInternetRequestAccepted|IsAnyInternetRequestAccepted]] with the output from [[#Network_Interface_services#GetClientId|GetClientId]], throwing an error when the returned bool is false. | |||
==== CancelApplicationDownload ==== | ==== CancelApplicationDownload ==== | ||
Line 1,031: | Line 1,033: | ||
==== RequestUpdateApplication2 ==== | ==== RequestUpdateApplication2 ==== | ||
Takes an input [[NCM_services#ApplicationId|ApplicationId]], returns an output Event handle and an [[#IAsyncResult]]. | Takes an input [[NCM_services#ApplicationId|ApplicationId]], returns an output Event handle and an [[#IAsyncResult]]. | ||
See [[#RequestApplicationUpdateInfo]] regarding nifm. | |||
==== LaunchDevMenu ==== | ==== LaunchDevMenu ==== | ||
Line 1,057: | Line 1,061: | ||
==== RequestDownloadApplicationControlData ==== | ==== RequestDownloadApplicationControlData ==== | ||
Takes an input [[NCM_services#ApplicationId|ApplicationId]], returns an output Event handle and an [[#IAsyncResult]]. | Takes an input [[NCM_services#ApplicationId|ApplicationId]], returns an output Event handle and an [[#IAsyncResult]]. | ||
See [[#RequestApplicationUpdateInfo]] regarding nifm. | |||
==== ListApplicationTitle ==== | ==== ListApplicationTitle ==== | ||
Line 1,066: | Line 1,072: | ||
==== RequestCheckGameCardRegistration ==== | ==== RequestCheckGameCardRegistration ==== | ||
Takes an input [[NCM_services#ApplicationId|ApplicationId]], returns an output Event handle and an [[#IAsyncResult]]. | Takes an input [[NCM_services#ApplicationId|ApplicationId]], returns an output Event handle and an [[#IAsyncResult]]. | ||
See [[#RequestApplicationUpdateInfo]] regarding nifm. | |||
==== RequestGameCardRegistrationGoldPoint ==== | ==== RequestGameCardRegistrationGoldPoint ==== | ||
Takes an input [[Account_services#Uid|Uid]], an [[NCM_services#ApplicationId|ApplicationId]], returns an output Event handle and an [[#IAsyncValue]]. | Takes an input [[Account_services#Uid|Uid]], an [[NCM_services#ApplicationId|ApplicationId]], returns an output Event handle and an [[#IAsyncValue]]. | ||
The data that can be read from the [[#IAsyncValue]] is 4-bytes. | |||
See [[#RequestApplicationUpdateInfo]] regarding nifm. | |||
==== RequestRegisterGameCard ==== | ==== RequestRegisterGameCard ==== | ||
Takes an input s32, an [[Account_services#Uid|Uid]], an [[NCM_services#ApplicationId|ApplicationId]], returns an output Event handle and an [[#IAsyncResult]]. | Takes an input s32, an [[Account_services#Uid|Uid]], an [[NCM_services#ApplicationId|ApplicationId]], returns an output Event handle and an [[#IAsyncResult]]. | ||
See [[#RequestApplicationUpdateInfo]] regarding nifm. | |||
==== GetGameCardMountFailureEvent ==== | ==== GetGameCardMountFailureEvent ==== | ||
Line 1,137: | Line 1,145: | ||
==== RequestDownloadApplicationPrepurchasedRights ==== | ==== RequestDownloadApplicationPrepurchasedRights ==== | ||
Takes an input [[NCM_services#ApplicationId|ApplicationId]], returns an output Event handle and an [[#IAsyncResult]]. | Takes an input [[NCM_services#ApplicationId|ApplicationId]], returns an output Event handle and an [[#IAsyncResult]]. | ||
See [[#RequestApplicationUpdateInfo]] regarding nifm. | |||
==== GetSystemDeliveryInfo ==== | ==== GetSystemDeliveryInfo ==== | ||
Line 1,275: | Line 1,285: | ||
The data that can be read from the [[#IAsyncValue]] is [[#NoDownloadRightsErrorResolution]]. | The data that can be read from the [[#IAsyncValue]] is [[#NoDownloadRightsErrorResolution]]. | ||
See [[#RequestApplicationUpdateInfo]] regarding nifm. | |||
==== RequestResolveNoDownloadRightsError ==== | ==== RequestResolveNoDownloadRightsError ==== | ||
Line 1,280: | Line 1,292: | ||
The data that can be read from the [[#IAsyncValue]] is [[#NoDownloadRightsErrorResolution]]. | The data that can be read from the [[#IAsyncValue]] is [[#NoDownloadRightsErrorResolution]]. | ||
See [[#RequestApplicationUpdateInfo]] regarding nifm. | |||
==== ImportPromotionJsonForDebug ==== | ==== ImportPromotionJsonForDebug ==== |