9 #include "../services/applet.h"
10 #include "../services/caps.h"
11 #include "../services/acc.h"
12 #include "../kernel/mutex.h"
17 WebShimKind_Login = 2,
18 WebShimKind_Offline = 3,
19 WebShimKind_Share = 4,
22 WebShimKind_Lobby = 7,
70 char conntest_url[0x100];
71 char initial_url[0x400];
AppletId
AppletId.
Definition: applet.h:91
_LOCK_T Mutex
Mutex datatype, defined in newlib.
Definition: mutex.h:12
Account UserId.
Definition: acc.h:25
LibraryApplet state.
Definition: applet.h:241
applet IStorage
Definition: applet.h:235
AlbumEntry.
Definition: caps.h:102
ApplicationAlbumEntry.
Definition: caps.h:108
Kernel-mode event structure.
Definition: event.h:13
Web TLV used in the web Arg storage.
Definition: web.h:108
u16 type
Type of this arg.
Definition: web.h:109
u16 size
Size of the arg data following this struct.
Definition: web.h:110
Config struct for web applets, non-WebWifi.
Definition: web.h:115
u32 version
CommonArgs applet version.
Definition: web.h:118
WebCommonTLVStorage arg
TLV storage.
Definition: web.h:116
AppletId appletid
AppletId.
Definition: web.h:117
AppletHolder holder
AppletHolder.
Definition: web.h:119
Common container struct for applets' reply data, from the output storage.
Definition: web.h:123
bool type
Type of reply: false = ret, true = storage.
Definition: web.h:124
WebCommonTLVStorage storage
Reply data for reply=true.
Definition: web.h:127
WebShimKind shimKind
ShimKind.
Definition: web.h:125
WebCommonReturnValue ret
Reply data for reply=false.
Definition: web.h:126
Common struct for the applet output storage, for non-TLV-storage.
Definition: web.h:93
u32 pad
Padding.
Definition: web.h:95
u64 lastUrlSize
Size of LastUrl, including NUL-terminator.
Definition: web.h:97
WebExitReason exitReason
ExitReason.
Definition: web.h:94
TLV storage, starts with WebArgHeader followed by WebArgTLV entries.
Definition: web.h:88
StorageHandleQueue.
Definition: web.h:139
WebSession.
Definition: web.h:148
Config for WebWifi.
Definition: web.h:83
WebWifiPageArg arg
Arg data.
Definition: web.h:84
Struct for the WebWifi applet input storage.
Definition: web.h:68
u32 rev
Input value for nifm cmd SetRequirementByRevision. Only used by the applet when conntest_url is set.
Definition: web.h:73
Uuid uuid
NIFM Network UUID. Only used by the applet when conntest_url is set.
Definition: web.h:72
u32 unk_x0
Official sw sets this to 0 with appletStorageWrite, separately from the rest of the config struct.
Definition: web.h:69
Struct for the WebWifi applet output storage.
Definition: web.h:77
Result res
Result.
Definition: web.h:79
u32 unk_x0
Unknown.
Definition: web.h:78
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22
uint8_t u8
8-bit unsigned integer.
Definition: types.h:19
int8_t s8
8-bit signed integer.
Definition: types.h:25
#define NX_PACKED
Packs a struct so that it won't include padding bytes.
Definition: types.h:63
uint16_t u16
16-bit unsigned integer.
Definition: types.h:20
u32 Result
Function error code result type.
Definition: types.h:44
int32_t s32
32-bit signed integer.
Definition: types.h:27
uint32_t u32
32-bit unsigned integer.
Definition: types.h:21
Result webConfigSetUid(WebCommonConfig *config, AccountUid uid)
Sets the account uid.
Result webConfigAddAlbumEntryAndMediaData(WebCommonConfig *config, const CapsAlbumEntry *entry, const u8 *data, size_t size)
Adds a pair of Share CapsAlbumEntry + optionally AdditionalMediaData.
Result webConfigSetOverrideWebAudioVolume(WebCommonConfig *config, float value)
Sets OverrideWebAudioVolume.
WebSessionReceiveMessageKind
WebSessionReceiveMessageKind.
Definition: web.h:61
@ WebSessionReceiveMessageKind_AckSystemMessage
Ack SystemMessage.
Definition: web.h:64
@ WebSessionReceiveMessageKind_AckBrowserEngine
Ack BrowserEngine.
Definition: web.h:63
@ WebSessionReceiveMessageKind_BrowserEngineContent
BrowserEngine Content.
Definition: web.h:62
Result webConfigSetKeyRepeatFrame(WebCommonConfig *config, s32 inval0, s32 inval1)
Sets the KeyRepeatFrame.
Result webLobbyCreate(WebCommonConfig *config)
Creates the config for LobbyApplet.
Result webConfigSetAdditionalMediaData(WebCommonConfig *config, const u8 *data, size_t size)
Sets the Share AdditionalMediaData.
Result webConfigSetLeftStickMode(WebCommonConfig *config, WebLeftStickMode mode)
Sets the LeftStickMode.
Result webShareCreate(WebCommonConfig *config, WebShareStartPage page)
Creates the config for ShareApplet.
Result webConfigSetCallbackUrl(WebCommonConfig *config, const char *url)
Sets the CallbackUrl.
Result webReplyGetLastUrl(WebCommonReply *reply, char *outstr, size_t outstr_maxsize, size_t *out_size)
Gets the LastUrl from the specified reply.
Result webConfigSetTouchEnabledOnContents(WebCommonConfig *config, bool flag)
Sets the TouchEnabledOnContents flag.
void webSessionClose(WebSession *s)
Closes a WebSession object.
WebReplyType
Types for WebArgTLV, output storage.
Definition: web.h:234
@ WebReplyType_MediaPlayerAutoClosedByCompletion
[8.0.0+] u8 bool
Definition: web.h:243
@ WebReplyType_LastUrl
[3.0.0+] string
Definition: web.h:236
@ WebReplyType_PostId
[3.0.0+] string
Definition: web.h:241
@ WebReplyType_PostServiceNameSize
[3.0.0+] u64
Definition: web.h:240
@ WebReplyType_PostServiceName
[3.0.0+] string
Definition: web.h:239
@ WebReplyType_LastUrlSize
[3.0.0+] u64
Definition: web.h:237
@ WebReplyType_PostIdSize
[3.0.0+] u64
Definition: web.h:242
@ WebReplyType_ExitReason
[3.0.0+] u32 ExitReason
Definition: web.h:235
@ WebReplyType_SharePostResult
[3.0.0+] u32 SharePostResult
Definition: web.h:238
void webSessionCreate(WebSession *s, WebCommonConfig *config)
Creates a WebSession object.
void webWifiCreate(WebWifiConfig *config, const char *conntest_url, const char *initial_url, Uuid uuid, u32 rev)
Creates the config for WifiWebAuthApplet.
Result webSessionWaitForExit(WebSession *s, WebCommonReply *out)
Waits for the applet to exit.
Result webOfflineCreate(WebCommonConfig *config, WebDocumentKind docKind, u64 id, const char *docPath)
Creates the config for Offline-applet.
Result webReplyGetPostId(WebCommonReply *reply, char *outstr, size_t outstr_maxsize, size_t *out_size)
Gets the PostId from the specified reply.
Result webConfigSetEcClientCert(WebCommonConfig *config, bool flag)
Sets the EcClientCert flag.
Result webConfigSetMediaPlayerAutoClose(WebCommonConfig *config, bool flag)
Sets the MediaPlayerAutoClose flag.
Result webReplyGetExitReason(WebCommonReply *reply, WebExitReason *exitReason)
Gets the ExitReason from the specified reply.
Result webConfigSetPageCache(WebCommonConfig *config, bool flag)
Sets whether PageCache is enabled.
Result webConfigSetWebAudio(WebCommonConfig *config, bool flag)
Sets whether WebAudio is enabled.
WebShimKind
This indicates the type of web-applet.
Definition: web.h:15
WebSessionBootMode
WebSessionBootMode.
Definition: web.h:48
@ WebSessionBootMode_AllForegroundInitiallyHidden
AllForegroundInitiallyHidden.
Definition: web.h:50
@ WebSessionBootMode_AllForeground
AllForeground. This is the default.
Definition: web.h:49
Result webConfigSetFooter(WebCommonConfig *config, bool flag)
Sets the whether the UI footer is enabled.
Result webConfigSetPageFade(WebCommonConfig *config, bool flag)
Sets the PageFade flag.
Result webConfigSetFooterFixedKind(WebCommonConfig *config, WebFooterFixedKind kind)
Sets the FooterFixedKind.
Result webConfigSetMediaCreatorApplicationRatingAge(WebCommonConfig *config, const s8 *data)
Sets the Share MediaCreatorApplicationRatingAge.
WebLeftStickMode
Mode values for webConfigSetLeftStickMode. Controls the initial mode, this can be toggled by the user...
Definition: web.h:276
@ WebLeftStickMode_Cursor
The user can only select elements on the page via the left-stick.
Definition: web.h:278
@ WebLeftStickMode_Pointer
The user can directly control the pointer via the left-stick.
Definition: web.h:277
Result webYouTubeVideoCreate(WebCommonConfig *config, const char *url)
Creates the config for WebApplet.
Result webConfigSetDisplayUrlKind(WebCommonConfig *config, bool kind)
Sets the DisplayUrlKind.
Result webPageCreate(WebCommonConfig *config, const char *url)
Creates the config for WebApplet.
Result webConfigSetCallbackableUrl(WebCommonConfig *config, const char *url)
Sets the CallbackableUrl.
WebBackgroundKind
Kind values for webConfigSetBackgroundKind. Controls the background color while displaying the loadin...
Definition: web.h:269
@ WebBackgroundKind_Unknown2
Unknown. Same as WebBootDisplayKind_Unknown4. Used by webLobbyCreate.
Definition: web.h:272
@ WebBackgroundKind_Default
Default. Same as WebBootDisplayKind_White/WebBootDisplayKind_Black, determined via WebArgType_BootAsM...
Definition: web.h:270
@ WebBackgroundKind_Unknown1
Unknown. Same as WebBootDisplayKind_Unknown3.
Definition: web.h:271
Result webConfigSetPlayReport(WebCommonConfig *config, bool flag)
Sets whether PlayReport is enabled.
WebFooterButtonId
Button values for webConfigSetBootFooterButtonVisible.
Definition: web.h:36
@ WebFooterButtonId_Type2
Unknown button Id 2.
Definition: web.h:39
@ WebFooterButtonId_Type3
Unknown button Id 3.
Definition: web.h:40
@ WebFooterButtonId_Max
Values starting with this are invalid.
Definition: web.h:44
@ WebFooterButtonId_None
None, for empty WebBootFooterButtonEntry. Invalid for webConfigSetBootFooterButtonVisible input.
Definition: web.h:37
@ WebFooterButtonId_Type4
Unknown button Id 4.
Definition: web.h:41
@ WebFooterButtonId_Type5
Unknown button Id 5.
Definition: web.h:42
@ WebFooterButtonId_Type1
Unknown button Id 1.
Definition: web.h:38
@ WebFooterButtonId_Type6
Unknown button Id 6.
Definition: web.h:43
Result webConfigSetLobbyParameter(WebCommonConfig *config, const char *str)
Sets the LobbyParameter.
Result webConfigSetBootAsMediaPlayer(WebCommonConfig *config, bool flag)
Sets the BootAsMediaPlayer flag.
Result webNewsCreate(WebCommonConfig *config, const char *url)
Creates the config for WebApplet.
Result webConfigShow(WebCommonConfig *config, WebCommonReply *out)
Launches the {web applet} with the specified config and waits for it to exit.
Result webConfigSetMediaPlayerUserGestureRestriction(WebCommonConfig *config, bool flag)
Sets the MediaPlayerUserGestureRestriction flag.
Result webConfigSetBootDisplayKind(WebCommonConfig *config, WebBootDisplayKind kind)
Sets the BootDisplayKind.
Result webConfigRequestExit(WebCommonConfig *config)
Request the applet to exit after webConfigShow was used, while the applet is still running.
WebArgType
Types for WebArgTLV, input storage.
Definition: web.h:166
@ WebArgType_SystemDataId
[1.0.0+] Offline-applet, u64 SystemDataId
Definition: web.h:173
@ WebArgType_DisplayUrlKind
[1.0.0+] u8 bool, DisplayUrlKind (value = (input_enumval==0x1)).
Definition: web.h:195
@ WebArgType_MediaPlayerSpeedControl
[6.0.0+] u8 bool
Definition: web.h:217
@ WebArgType_AdditionalMediaData1
[6.0.0+] Share-applet 0x10-byte u8 array, AdditionalMediaData. Entry 1.
Definition: web.h:221
@ WebArgType_UnknownD
[1.0.0+] u8
Definition: web.h:178
@ WebArgType_2F
[5.0.0+] u8
Definition: web.h:210
@ WebArgType_Url
[1.0.0+] String, size 0xC00. Initial URL.
Definition: web.h:167
@ WebArgType_PlayReport
[1.0.0+] u8 bool
Definition: web.h:184
@ WebArgType_ShareStartPage
[1.0.0+] u32 enum \WebShareStartPage
Definition: web.h:174
@ WebArgType_FooterFixedKind
[5.0.0+] u32 enum WebFooterFixedKind
Definition: web.h:212
@ WebArgType_SessionBootMode
[7.0.0+] u32 enum WebSessionBootMode
Definition: web.h:227
@ WebArgType_OverrideWebAudioVolume
[6.0.0+] float
Definition: web.h:225
@ WebArgType_AdditionalMediaData0
[4.0.0+] Share-applet 0x10-byte u8 array, AdditionalMediaData. Entry 0. If the user-input size is les...
Definition: web.h:206
@ WebArgType_PageCache
[4.0.0+] u8 bool
Definition: web.h:208
@ WebArgType_CallbackUrl
[1.0.0+] String, size 0x400.
Definition: web.h:168
@ WebArgType_Unknown14
[1.0.0+] u8
Definition: web.h:185
@ WebArgType_SessionFlag
[7.0.0+] u8 bool, enables using WebSession when set.
Definition: web.h:228
@ WebArgType_PageScrollIndicator
[5.0.0+] u8 bool
Definition: web.h:216
@ WebArgType_KeyRepeatFrame0
[1.0.0+] s32 KeyRepeatFrame, first param
Definition: web.h:192
@ WebArgType_BootLoadingIcon
[5.0.0+] u8 bool
Definition: web.h:215
@ WebArgType_MediaCreatorApplicationRatingAge
[5.0.0+] Share-applet 0x20-byte s8 array, MediaCreatorApplicationRatingAge.
Definition: web.h:214
@ WebArgType_AlbumEntry1
[6.0.0+] Share-applet caps AlbumEntry, entry 1.
Definition: web.h:218
@ WebArgType_LobbyParameter
[2.0.0+] String, size 0x100.
Definition: web.h:200
@ WebArgType_MediaPlayerUserGestureRestriction
[2.0.0-5.1.0] u8 bool
Definition: web.h:198
@ WebArgType_MediaAutoPlay
[6.0.0+] u8 bool
Definition: web.h:199
@ WebArgType_UnknownC
[1.0.0+] u8
Definition: web.h:177
@ WebArgType_BootAsMediaPlayer
[2.0.0+] u8 bool
Definition: web.h:196
@ WebArgType_WebAudio
[4.0.0+] u8 bool
Definition: web.h:209
@ WebArgType_UserAgentAdditionalString
[4.0.0+] String, size 0x80.
Definition: web.h:205
@ WebArgType_PageFade
[5.0.0+] u8 bool
Definition: web.h:213
@ WebArgType_Footer
[1.0.0+] u8 bool
Definition: web.h:189
@ WebArgType_BootFooterButton
[6.0.0+] Array of WebBootFooterButtonEntry with 0x10 entries.
Definition: web.h:224
@ WebArgType_TouchEnabledOnContents
[4.0.0+] u8 bool
Definition: web.h:204
@ WebArgType_TransferMemory
[11.0.0+] u8 bool
Definition: web.h:230
@ WebArgType_AdditionalMediaData2
[6.0.0+] Share-applet 0x10-byte u8 array, AdditionalMediaData. Entry 2.
Definition: web.h:222
@ WebArgType_AlbumEntry2
[6.0.0+] Share-applet caps AlbumEntry, entry 2.
Definition: web.h:219
@ WebArgType_YouTubeVideoFlag
[5.0.0+] u8 bool Indicates that the built-in whitelist for YouTubeVideo should be used.
Definition: web.h:211
@ WebArgType_Whitelist
[1.0.0+] String, size 0x1000.
Definition: web.h:175
@ WebArgType_Pointer
[1.0.0+] u8 bool
Definition: web.h:190
@ WebArgType_EcClientCert
[1.0.0+] u8 bool
Definition: web.h:182
@ WebArgType_DocumentPath
[1.0.0+] Offline-applet, string with size 0xC00.
Definition: web.h:171
@ WebArgType_ShopJump
[2.0.0+] u8 bool
Definition: web.h:197
@ WebArgType_MediaPlayerUi
[8.0.0+] u8 bool
Definition: web.h:229
@ WebArgType_BootDisplayKind
[1.0.0+] u32 enum WebBootDisplayKind
Definition: web.h:187
@ WebArgType_OverrideMediaAudioVolume
[6.0.0+] float
Definition: web.h:226
@ WebArgType_Unknown15
[1.0.0+] u8
Definition: web.h:186
@ WebArgType_CallbackableUrl
[1.0.0+] String, size 0x400.
Definition: web.h:169
@ WebArgType_AdditionalMediaData3
[6.0.0+] Share-applet 0x10-byte u8 array, AdditionalMediaData. Entry 3.
Definition: web.h:223
@ WebArgType_AlbumEntry3
[6.0.0+] Share-applet caps AlbumEntry, entry 3.
Definition: web.h:220
@ WebArgType_LeftStickMode
[1.0.0+] u32 enum WebLeftStickMode
Definition: web.h:191
@ WebArgType_BootAsMediaPlayerInverted
[1.0.0+] u8 bool. With News on [3.0.0+] this is set after BootAsMediaPlayer with the value inverted.
Definition: web.h:194
@ WebArgType_MediaPlayerAutoClose
[4.0.0+] u8 bool
Definition: web.h:207
@ WebArgType_NewsFlag
[1.0.0+] u8 bool
Definition: web.h:176
@ WebArgType_Unknown12
[1.0.0+] u8
Definition: web.h:183
@ WebArgType_KeyRepeatFrame1
[1.0.0+] s32 KeyRepeatFrame, second param
Definition: web.h:193
@ WebArgType_DocumentKind
[1.0.0+] Offline-applet, u32 enum \WebDocumentKind.
Definition: web.h:172
@ WebArgType_JsExtension
[3.0.0+] u8 bool
Definition: web.h:202
@ WebArgType_AdditionalCommentText
[4.0.0+] String, size 0x100. Share-applet AdditionalCommentText.
Definition: web.h:203
@ WebArgType_BackgroundKind
[1.0.0+] u32 enum WebBackgroundKind
Definition: web.h:188
@ WebArgType_Uid
[1.0.0+] AccountUid, controls which user-specific savedata to mount.
Definition: web.h:179
@ WebArgType_ApplicationAlbumEntry
[3.0.0+] Share-applet caps ApplicationAlbumEntry
Definition: web.h:201
@ WebArgType_ApplicationId
[1.0.0+] Offline-applet, u64 ApplicationId
Definition: web.h:170
@ WebArgType_ScreenShot
[1.0.0+] u8 bool
Definition: web.h:181
@ WebArgType_AlbumEntry0
[1.0.0+] Share-applet caps AlbumEntry, entry 0.
Definition: web.h:180
Result webConfigSetBootLoadingIcon(WebCommonConfig *config, bool flag)
Sets the BootLoadingIcon flag.
Result webReplyGetMediaPlayerAutoClosedByCompletion(WebCommonReply *reply, bool *flag)
Gets the MediaPlayerAutoClosedByCompletion flag from the specified reply.
WebBootDisplayKind
Kind values for webConfigSetBootDisplayKind. Controls the background color while displaying the loadi...
Definition: web.h:260
@ WebBootDisplayKind_Default
Default. BackgroundKind is controlled by WebBackgroundKind.
Definition: web.h:261
@ WebBootDisplayKind_Unknown4
Unknown. Used by webLobbyCreate.
Definition: web.h:265
@ WebBootDisplayKind_Unknown3
Unknown. Used by webShareCreate.
Definition: web.h:264
@ WebBootDisplayKind_Black
Black background.
Definition: web.h:263
@ WebBootDisplayKind_White
White background. Used by webOfflineCreate for docKind WebDocumentKind_ApplicationLegalInformation/We...
Definition: web.h:262
Result webConfigSetWhitelist(WebCommonConfig *config, const char *whitelist)
Sets the whitelist.
WebDocumentKind
This controls the kind of content to mount with Offline-applet.
Definition: web.h:247
@ WebDocumentKind_SystemDataPage
Use the Data NCA content from the specified SystemData, see also: https://switchbrew....
Definition: web.h:250
@ WebDocumentKind_OfflineHtmlPage
Use the HtmlDocument NCA content from the application.
Definition: web.h:248
@ WebDocumentKind_ApplicationLegalInformation
Use the LegalInformation NCA content from the application.
Definition: web.h:249
WebShareStartPage
This controls the initial page for ShareApplet, used by webShareCreate.
Definition: web.h:254
@ WebShareStartPage_Settings
The "/settings/" page.
Definition: web.h:256
@ WebShareStartPage_Default
The default "/" page.
Definition: web.h:255
Result webConfigSetPageScrollIndicator(WebCommonConfig *config, bool flag)
Sets the PageScrollIndicator flag.
Result webSessionTryReceiveContentMessage(WebSession *s, char *content, u64 size, u64 *out_size, bool *flag)
TryReceiveContentMessage.
Result webConfigSetUserAgentAdditionalString(WebCommonConfig *config, const char *str)
Sets the UserAgentAdditionalString.
Result webConfigSetPointer(WebCommonConfig *config, bool flag)
Sets the whether the Pointer is enabled.
WebSessionSendMessageKind
WebSessionSendMessageKind.
Definition: web.h:54
@ WebSessionSendMessageKind_Ack
Ack.
Definition: web.h:57
@ WebSessionSendMessageKind_BrowserEngineContent
BrowserEngine Content.
Definition: web.h:55
@ WebSessionSendMessageKind_SystemMessageAppear
SystemMessage Appear.
Definition: web.h:56
Result webConfigSetOverrideMediaAudioVolume(WebCommonConfig *config, float value)
Sets OverrideMediaAudioVolume.
Result webSessionRequestExit(WebSession *s)
Request the applet to exit.
Result webReplyGetPostServiceName(WebCommonReply *reply, char *outstr, size_t outstr_maxsize, size_t *out_size)
Gets the PostServiceName from the specified reply.
Result webConfigSetScreenShot(WebCommonConfig *config, bool flag)
Sets the ScreenShot flag, which controls whether screen-shot capture is allowed.
Result webConfigSetMediaAutoPlay(WebCommonConfig *config, bool flag)
Sets whether MediaAutoPlay is enabled.
Result webWifiShow(WebWifiConfig *config, WebWifiReturnValue *out)
Launches WifiWebAuthApplet with the specified config and waits for it to exit.
Result webReplyGetSharePostResult(WebCommonReply *reply, u32 *sharePostResult)
Gets the SharePostResult from the specified reply.
Result webConfigSetAlbumEntry(WebCommonConfig *config, const CapsAlbumEntry *entry)
Sets the Share CapsAlbumEntry.
WebExitReason
ExitReason.
Definition: web.h:26
@ WebExitReason_LastUrl
The applet exited due to LastUrl handling, see webReplyGetLastUrl.
Definition: web.h:30
@ WebExitReason_ExitButton
User pressed the X button to exit.
Definition: web.h:27
@ WebExitReason_Requested
The applet exited since webConfigRequestExit was used.
Definition: web.h:29
@ WebExitReason_ErrorDialog
The applet exited after displaying an error dialog.
Definition: web.h:31
@ WebExitReason_UnknownE
Unknown.
Definition: web.h:32
@ WebExitReason_BackButton
User pressed the B button to exit, on the initial page.
Definition: web.h:28
Result webConfigSetBootMode(WebCommonConfig *config, WebSessionBootMode mode)
Sets WebSessionBootMode.
Result webConfigSetMediaPlayerUi(WebCommonConfig *config, bool flag)
Sets whether MediaPlayerUi is enabled.
Result webConfigSetAdditionalCommentText(WebCommonConfig *config, const char *str)
Sets the Share AdditionalCommentText.
Result webSessionAppear(WebSession *s, bool *flag)
Request the applet to Appear, this is only needed with WebSessionBootMode_AllForegroundInitiallyHidde...
Result webConfigSetBackgroundKind(WebCommonConfig *config, WebBackgroundKind kind)
Sets the BackgroundKind.
WebFooterFixedKind
Kind values for webConfigSetFooterFixedKind. Controls UI footer display behaviour.
Definition: web.h:282
@ WebFooterFixedKind_Default
Default. Footer is hidden while scrolling.
Definition: web.h:283
@ WebFooterFixedKind_Always
Footer is always displayed regardless of scrolling.
Definition: web.h:284
@ WebFooterFixedKind_Hidden
Footer is hidden regardless of scrolling.
Definition: web.h:285
Result webConfigSetShopJump(WebCommonConfig *config, bool flag)
Sets the ShopJump flag.
Result webConfigSetTransferMemory(WebCommonConfig *config, bool flag)
Sets whether TransferMemory is enabled.
Result webConfigSetMediaPlayerSpeedControl(WebCommonConfig *config, bool flag)
Sets whether MediaPlayerSpeedControl is enabled.
Result webConfigSetBootFooterButtonVisible(WebCommonConfig *config, WebFooterButtonId button, bool visible)
Sets whether the specified BootFooterButton is visible.
Result webSessionStart(WebSession *s, Event **out_event)
Launches the applet for WebSession.
Result webConfigSetJsExtension(WebCommonConfig *config, bool flag)
Sets whether JsExtension is enabled.
Result webSessionTrySendContentMessage(WebSession *s, const char *content, u32 size, bool *flag)
TrySendContentMessage.
Result webConfigSetApplicationAlbumEntry(WebCommonConfig *config, CapsApplicationAlbumEntry *entry)
Sets the Share CapsApplicationAlbumEntry.