-
Notifications
You must be signed in to change notification settings - Fork 37
Wii U System Setting API
wiiuSystemSetting
is a global JavaScript object that exposes an API for getting system information.
-
Returns:
{JSON Document}
-
Example:
{ isLocked: false }
-
Usage:
Check if the browser is locked by parental controls or not
-
Returns:
{JSON Document}
-
Examples:
{ code: 'ja' }
error: { code : 1112222, message : "Test Error Message" }
-
Usage:
Get the system language
-
Returns:
{JSON Document}
-
Example:
{ enable: false }
-
Usage:
Unknown
-
Returns:
{JSON Document}
-
Examples:
{ code: 'JPN' }
error: { code : 1112222, message : "Test Error Message" }
-
Usage:
Get the system region
-
Returns:
{JSON Document}
-
Example:
{ isLocked: false }
-
Usage:
Check if the eShop is locked by parental controls or not
-
Arguments:
-
{int}
Parental Controls Pin
-
-
Returns:
{JSON Document}
-
Examples:
{ result: true }
error: { code : 1112222, message : "Test Error Message" }
-
Usage:
Check an inputted parental controls pin
-
Returns:
{JSON Document}
-
Example:
{ isLocked: false, age: 17 }
-
Usage:
returns the current game rating restrictions set by parental controls
-
Returns:
{JSON Document}
-
Example:
{ epochMilliSeconds: 1606536487591.0007 }
-
Usage:
Get current time as a unix timestamp
-
Returns:
{JSON Document}
-
Example:
-
{ restrictionLevel: 0 }
-
Restriction Level Values:
Value State 0
None 1
No Posting 2
No Viewing and Posting
-
-
Usage:
returns the current Miiverse restrictions set by parental controls
-
Returns:
{JSON Document}
-
Examples:
{ code: 'JP' }
error: { code : 1112222, message : "Test Error Message" }
-
Usage:
Get the system country