github.com/primecitizens/pcz/std@v0.2.1/plat/js/web/bindings/import28_wasm.go (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright 2023 The Prime Citizens 3 4 //go:build wasm 5 6 package bindings 7 8 import ( 9 "unsafe" 10 11 "github.com/primecitizens/pcz/std/ffi/js" 12 ) 13 14 type ( 15 _ unsafe.Pointer 16 _ js.Ref 17 ) 18 19 //go:wasmimport plat/js/web constof_ServiceWorkerState 20 //go:noescape 21 func ConstOfServiceWorkerState(str js.Ref) uint32 22 23 //go:wasmimport plat/js/web get_ServiceWorker_ScriptURL 24 //go:noescape 25 func GetServiceWorkerScriptURL( 26 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 27 28 //go:wasmimport plat/js/web get_ServiceWorker_State 29 //go:noescape 30 func GetServiceWorkerState( 31 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 32 33 //go:wasmimport plat/js/web has_ServiceWorker_PostMessage 34 //go:noescape 35 func HasFuncServiceWorkerPostMessage(this js.Ref) js.Ref 36 37 //go:wasmimport plat/js/web func_ServiceWorker_PostMessage 38 //go:noescape 39 func FuncServiceWorkerPostMessage(this js.Ref, fn unsafe.Pointer) 40 41 //go:wasmimport plat/js/web call_ServiceWorker_PostMessage 42 //go:noescape 43 func CallServiceWorkerPostMessage( 44 this js.Ref, retPtr unsafe.Pointer, 45 message js.Ref, 46 transfer js.Ref) 47 48 //go:wasmimport plat/js/web try_ServiceWorker_PostMessage 49 //go:noescape 50 func TryServiceWorkerPostMessage( 51 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 52 message js.Ref, 53 transfer js.Ref) (ok js.Ref) 54 55 //go:wasmimport plat/js/web has_ServiceWorker_PostMessage1 56 //go:noescape 57 func HasFuncServiceWorkerPostMessage1(this js.Ref) js.Ref 58 59 //go:wasmimport plat/js/web func_ServiceWorker_PostMessage1 60 //go:noescape 61 func FuncServiceWorkerPostMessage1(this js.Ref, fn unsafe.Pointer) 62 63 //go:wasmimport plat/js/web call_ServiceWorker_PostMessage1 64 //go:noescape 65 func CallServiceWorkerPostMessage1( 66 this js.Ref, retPtr unsafe.Pointer, 67 message js.Ref, 68 options unsafe.Pointer) 69 70 //go:wasmimport plat/js/web try_ServiceWorker_PostMessage1 71 //go:noescape 72 func TryServiceWorkerPostMessage1( 73 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 74 message js.Ref, 75 options unsafe.Pointer) (ok js.Ref) 76 77 //go:wasmimport plat/js/web has_ServiceWorker_PostMessage2 78 //go:noescape 79 func HasFuncServiceWorkerPostMessage2(this js.Ref) js.Ref 80 81 //go:wasmimport plat/js/web func_ServiceWorker_PostMessage2 82 //go:noescape 83 func FuncServiceWorkerPostMessage2(this js.Ref, fn unsafe.Pointer) 84 85 //go:wasmimport plat/js/web call_ServiceWorker_PostMessage2 86 //go:noescape 87 func CallServiceWorkerPostMessage2( 88 this js.Ref, retPtr unsafe.Pointer, 89 message js.Ref) 90 91 //go:wasmimport plat/js/web try_ServiceWorker_PostMessage2 92 //go:noescape 93 func TryServiceWorkerPostMessage2( 94 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 95 message js.Ref) (ok js.Ref) 96 97 //go:wasmimport plat/js/web store_NavigationPreloadState 98 //go:noescape 99 func NavigationPreloadStateJSStore( 100 ptr unsafe.Pointer, ref js.Ref) 101 102 //go:wasmimport plat/js/web load_NavigationPreloadState 103 //go:noescape 104 func NavigationPreloadStateJSLoad( 105 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 106 107 //go:wasmimport plat/js/web has_NavigationPreloadManager_Enable 108 //go:noescape 109 func HasFuncNavigationPreloadManagerEnable(this js.Ref) js.Ref 110 111 //go:wasmimport plat/js/web func_NavigationPreloadManager_Enable 112 //go:noescape 113 func FuncNavigationPreloadManagerEnable(this js.Ref, fn unsafe.Pointer) 114 115 //go:wasmimport plat/js/web call_NavigationPreloadManager_Enable 116 //go:noescape 117 func CallNavigationPreloadManagerEnable( 118 this js.Ref, retPtr unsafe.Pointer) 119 120 //go:wasmimport plat/js/web try_NavigationPreloadManager_Enable 121 //go:noescape 122 func TryNavigationPreloadManagerEnable( 123 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 124 125 //go:wasmimport plat/js/web has_NavigationPreloadManager_Disable 126 //go:noescape 127 func HasFuncNavigationPreloadManagerDisable(this js.Ref) js.Ref 128 129 //go:wasmimport plat/js/web func_NavigationPreloadManager_Disable 130 //go:noescape 131 func FuncNavigationPreloadManagerDisable(this js.Ref, fn unsafe.Pointer) 132 133 //go:wasmimport plat/js/web call_NavigationPreloadManager_Disable 134 //go:noescape 135 func CallNavigationPreloadManagerDisable( 136 this js.Ref, retPtr unsafe.Pointer) 137 138 //go:wasmimport plat/js/web try_NavigationPreloadManager_Disable 139 //go:noescape 140 func TryNavigationPreloadManagerDisable( 141 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 142 143 //go:wasmimport plat/js/web has_NavigationPreloadManager_SetHeaderValue 144 //go:noescape 145 func HasFuncNavigationPreloadManagerSetHeaderValue(this js.Ref) js.Ref 146 147 //go:wasmimport plat/js/web func_NavigationPreloadManager_SetHeaderValue 148 //go:noescape 149 func FuncNavigationPreloadManagerSetHeaderValue(this js.Ref, fn unsafe.Pointer) 150 151 //go:wasmimport plat/js/web call_NavigationPreloadManager_SetHeaderValue 152 //go:noescape 153 func CallNavigationPreloadManagerSetHeaderValue( 154 this js.Ref, retPtr unsafe.Pointer, 155 value js.Ref) 156 157 //go:wasmimport plat/js/web try_NavigationPreloadManager_SetHeaderValue 158 //go:noescape 159 func TryNavigationPreloadManagerSetHeaderValue( 160 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 161 value js.Ref) (ok js.Ref) 162 163 //go:wasmimport plat/js/web has_NavigationPreloadManager_GetState 164 //go:noescape 165 func HasFuncNavigationPreloadManagerGetState(this js.Ref) js.Ref 166 167 //go:wasmimport plat/js/web func_NavigationPreloadManager_GetState 168 //go:noescape 169 func FuncNavigationPreloadManagerGetState(this js.Ref, fn unsafe.Pointer) 170 171 //go:wasmimport plat/js/web call_NavigationPreloadManager_GetState 172 //go:noescape 173 func CallNavigationPreloadManagerGetState( 174 this js.Ref, retPtr unsafe.Pointer) 175 176 //go:wasmimport plat/js/web try_NavigationPreloadManager_GetState 177 //go:noescape 178 func TryNavigationPreloadManagerGetState( 179 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 180 181 //go:wasmimport plat/js/web constof_ServiceWorkerUpdateViaCache 182 //go:noescape 183 func ConstOfServiceWorkerUpdateViaCache(str js.Ref) uint32 184 185 //go:wasmimport plat/js/web has_SyncManager_Register 186 //go:noescape 187 func HasFuncSyncManagerRegister(this js.Ref) js.Ref 188 189 //go:wasmimport plat/js/web func_SyncManager_Register 190 //go:noescape 191 func FuncSyncManagerRegister(this js.Ref, fn unsafe.Pointer) 192 193 //go:wasmimport plat/js/web call_SyncManager_Register 194 //go:noescape 195 func CallSyncManagerRegister( 196 this js.Ref, retPtr unsafe.Pointer, 197 tag js.Ref) 198 199 //go:wasmimport plat/js/web try_SyncManager_Register 200 //go:noescape 201 func TrySyncManagerRegister( 202 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 203 tag js.Ref) (ok js.Ref) 204 205 //go:wasmimport plat/js/web has_SyncManager_GetTags 206 //go:noescape 207 func HasFuncSyncManagerGetTags(this js.Ref) js.Ref 208 209 //go:wasmimport plat/js/web func_SyncManager_GetTags 210 //go:noescape 211 func FuncSyncManagerGetTags(this js.Ref, fn unsafe.Pointer) 212 213 //go:wasmimport plat/js/web call_SyncManager_GetTags 214 //go:noescape 215 func CallSyncManagerGetTags( 216 this js.Ref, retPtr unsafe.Pointer) 217 218 //go:wasmimport plat/js/web try_SyncManager_GetTags 219 //go:noescape 220 func TrySyncManagerGetTags( 221 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 222 223 //go:wasmimport plat/js/web constof_PushEncryptionKeyName 224 //go:noescape 225 func ConstOfPushEncryptionKeyName(str js.Ref) uint32 226 227 //go:wasmimport plat/js/web store_PushSubscriptionJSON 228 //go:noescape 229 func PushSubscriptionJSONJSStore( 230 ptr unsafe.Pointer, ref js.Ref) 231 232 //go:wasmimport plat/js/web load_PushSubscriptionJSON 233 //go:noescape 234 func PushSubscriptionJSONJSLoad( 235 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 236 237 //go:wasmimport plat/js/web get_PushSubscriptionOptions_UserVisibleOnly 238 //go:noescape 239 func GetPushSubscriptionOptionsUserVisibleOnly( 240 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 241 242 //go:wasmimport plat/js/web get_PushSubscriptionOptions_ApplicationServerKey 243 //go:noescape 244 func GetPushSubscriptionOptionsApplicationServerKey( 245 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 246 247 //go:wasmimport plat/js/web get_PushSubscription_Endpoint 248 //go:noescape 249 func GetPushSubscriptionEndpoint( 250 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 251 252 //go:wasmimport plat/js/web get_PushSubscription_ExpirationTime 253 //go:noescape 254 func GetPushSubscriptionExpirationTime( 255 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 256 257 //go:wasmimport plat/js/web get_PushSubscription_Options 258 //go:noescape 259 func GetPushSubscriptionOptions( 260 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 261 262 //go:wasmimport plat/js/web has_PushSubscription_GetKey 263 //go:noescape 264 func HasFuncPushSubscriptionGetKey(this js.Ref) js.Ref 265 266 //go:wasmimport plat/js/web func_PushSubscription_GetKey 267 //go:noescape 268 func FuncPushSubscriptionGetKey(this js.Ref, fn unsafe.Pointer) 269 270 //go:wasmimport plat/js/web call_PushSubscription_GetKey 271 //go:noescape 272 func CallPushSubscriptionGetKey( 273 this js.Ref, retPtr unsafe.Pointer, 274 name uint32) 275 276 //go:wasmimport plat/js/web try_PushSubscription_GetKey 277 //go:noescape 278 func TryPushSubscriptionGetKey( 279 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 280 name uint32) (ok js.Ref) 281 282 //go:wasmimport plat/js/web has_PushSubscription_Unsubscribe 283 //go:noescape 284 func HasFuncPushSubscriptionUnsubscribe(this js.Ref) js.Ref 285 286 //go:wasmimport plat/js/web func_PushSubscription_Unsubscribe 287 //go:noescape 288 func FuncPushSubscriptionUnsubscribe(this js.Ref, fn unsafe.Pointer) 289 290 //go:wasmimport plat/js/web call_PushSubscription_Unsubscribe 291 //go:noescape 292 func CallPushSubscriptionUnsubscribe( 293 this js.Ref, retPtr unsafe.Pointer) 294 295 //go:wasmimport plat/js/web try_PushSubscription_Unsubscribe 296 //go:noescape 297 func TryPushSubscriptionUnsubscribe( 298 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 299 300 //go:wasmimport plat/js/web has_PushSubscription_ToJSON 301 //go:noescape 302 func HasFuncPushSubscriptionToJSON(this js.Ref) js.Ref 303 304 //go:wasmimport plat/js/web func_PushSubscription_ToJSON 305 //go:noescape 306 func FuncPushSubscriptionToJSON(this js.Ref, fn unsafe.Pointer) 307 308 //go:wasmimport plat/js/web call_PushSubscription_ToJSON 309 //go:noescape 310 func CallPushSubscriptionToJSON( 311 this js.Ref, retPtr unsafe.Pointer) 312 313 //go:wasmimport plat/js/web try_PushSubscription_ToJSON 314 //go:noescape 315 func TryPushSubscriptionToJSON( 316 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 317 318 //go:wasmimport plat/js/web store_PushSubscriptionOptionsInit 319 //go:noescape 320 func PushSubscriptionOptionsInitJSStore( 321 ptr unsafe.Pointer, ref js.Ref) 322 323 //go:wasmimport plat/js/web load_PushSubscriptionOptionsInit 324 //go:noescape 325 func PushSubscriptionOptionsInitJSLoad( 326 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 327 328 //go:wasmimport plat/js/web get_PushManager_SupportedContentEncodings 329 //go:noescape 330 func GetPushManagerSupportedContentEncodings( 331 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 332 333 //go:wasmimport plat/js/web has_PushManager_Subscribe 334 //go:noescape 335 func HasFuncPushManagerSubscribe(this js.Ref) js.Ref 336 337 //go:wasmimport plat/js/web func_PushManager_Subscribe 338 //go:noescape 339 func FuncPushManagerSubscribe(this js.Ref, fn unsafe.Pointer) 340 341 //go:wasmimport plat/js/web call_PushManager_Subscribe 342 //go:noescape 343 func CallPushManagerSubscribe( 344 this js.Ref, retPtr unsafe.Pointer, 345 options unsafe.Pointer) 346 347 //go:wasmimport plat/js/web try_PushManager_Subscribe 348 //go:noescape 349 func TryPushManagerSubscribe( 350 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 351 options unsafe.Pointer) (ok js.Ref) 352 353 //go:wasmimport plat/js/web has_PushManager_Subscribe1 354 //go:noescape 355 func HasFuncPushManagerSubscribe1(this js.Ref) js.Ref 356 357 //go:wasmimport plat/js/web func_PushManager_Subscribe1 358 //go:noescape 359 func FuncPushManagerSubscribe1(this js.Ref, fn unsafe.Pointer) 360 361 //go:wasmimport plat/js/web call_PushManager_Subscribe1 362 //go:noescape 363 func CallPushManagerSubscribe1( 364 this js.Ref, retPtr unsafe.Pointer) 365 366 //go:wasmimport plat/js/web try_PushManager_Subscribe1 367 //go:noescape 368 func TryPushManagerSubscribe1( 369 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 370 371 //go:wasmimport plat/js/web has_PushManager_GetSubscription 372 //go:noescape 373 func HasFuncPushManagerGetSubscription(this js.Ref) js.Ref 374 375 //go:wasmimport plat/js/web func_PushManager_GetSubscription 376 //go:noescape 377 func FuncPushManagerGetSubscription(this js.Ref, fn unsafe.Pointer) 378 379 //go:wasmimport plat/js/web call_PushManager_GetSubscription 380 //go:noescape 381 func CallPushManagerGetSubscription( 382 this js.Ref, retPtr unsafe.Pointer) 383 384 //go:wasmimport plat/js/web try_PushManager_GetSubscription 385 //go:noescape 386 func TryPushManagerGetSubscription( 387 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 388 389 //go:wasmimport plat/js/web has_PushManager_PermissionState 390 //go:noescape 391 func HasFuncPushManagerPermissionState(this js.Ref) js.Ref 392 393 //go:wasmimport plat/js/web func_PushManager_PermissionState 394 //go:noescape 395 func FuncPushManagerPermissionState(this js.Ref, fn unsafe.Pointer) 396 397 //go:wasmimport plat/js/web call_PushManager_PermissionState 398 //go:noescape 399 func CallPushManagerPermissionState( 400 this js.Ref, retPtr unsafe.Pointer, 401 options unsafe.Pointer) 402 403 //go:wasmimport plat/js/web try_PushManager_PermissionState 404 //go:noescape 405 func TryPushManagerPermissionState( 406 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 407 options unsafe.Pointer) (ok js.Ref) 408 409 //go:wasmimport plat/js/web has_PushManager_PermissionState1 410 //go:noescape 411 func HasFuncPushManagerPermissionState1(this js.Ref) js.Ref 412 413 //go:wasmimport plat/js/web func_PushManager_PermissionState1 414 //go:noescape 415 func FuncPushManagerPermissionState1(this js.Ref, fn unsafe.Pointer) 416 417 //go:wasmimport plat/js/web call_PushManager_PermissionState1 418 //go:noescape 419 func CallPushManagerPermissionState1( 420 this js.Ref, retPtr unsafe.Pointer) 421 422 //go:wasmimport plat/js/web try_PushManager_PermissionState1 423 //go:noescape 424 func TryPushManagerPermissionState1( 425 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 426 427 //go:wasmimport plat/js/web constof_PaymentDelegation 428 //go:noescape 429 func ConstOfPaymentDelegation(str js.Ref) uint32 430 431 //go:wasmimport plat/js/web get_PaymentManager_UserHint 432 //go:noescape 433 func GetPaymentManagerUserHint( 434 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 435 436 //go:wasmimport plat/js/web set_PaymentManager_UserHint 437 //go:noescape 438 func SetPaymentManagerUserHint( 439 this js.Ref, 440 val js.Ref, 441 ) js.Ref 442 443 //go:wasmimport plat/js/web has_PaymentManager_EnableDelegations 444 //go:noescape 445 func HasFuncPaymentManagerEnableDelegations(this js.Ref) js.Ref 446 447 //go:wasmimport plat/js/web func_PaymentManager_EnableDelegations 448 //go:noescape 449 func FuncPaymentManagerEnableDelegations(this js.Ref, fn unsafe.Pointer) 450 451 //go:wasmimport plat/js/web call_PaymentManager_EnableDelegations 452 //go:noescape 453 func CallPaymentManagerEnableDelegations( 454 this js.Ref, retPtr unsafe.Pointer, 455 delegations js.Ref) 456 457 //go:wasmimport plat/js/web try_PaymentManager_EnableDelegations 458 //go:noescape 459 func TryPaymentManagerEnableDelegations( 460 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 461 delegations js.Ref) (ok js.Ref) 462 463 //go:wasmimport plat/js/web has_PeriodicSyncManager_Register 464 //go:noescape 465 func HasFuncPeriodicSyncManagerRegister(this js.Ref) js.Ref 466 467 //go:wasmimport plat/js/web func_PeriodicSyncManager_Register 468 //go:noescape 469 func FuncPeriodicSyncManagerRegister(this js.Ref, fn unsafe.Pointer) 470 471 //go:wasmimport plat/js/web call_PeriodicSyncManager_Register 472 //go:noescape 473 func CallPeriodicSyncManagerRegister( 474 this js.Ref, retPtr unsafe.Pointer, 475 tag js.Ref, 476 options unsafe.Pointer) 477 478 //go:wasmimport plat/js/web try_PeriodicSyncManager_Register 479 //go:noescape 480 func TryPeriodicSyncManagerRegister( 481 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 482 tag js.Ref, 483 options unsafe.Pointer) (ok js.Ref) 484 485 //go:wasmimport plat/js/web has_PeriodicSyncManager_Register1 486 //go:noescape 487 func HasFuncPeriodicSyncManagerRegister1(this js.Ref) js.Ref 488 489 //go:wasmimport plat/js/web func_PeriodicSyncManager_Register1 490 //go:noescape 491 func FuncPeriodicSyncManagerRegister1(this js.Ref, fn unsafe.Pointer) 492 493 //go:wasmimport plat/js/web call_PeriodicSyncManager_Register1 494 //go:noescape 495 func CallPeriodicSyncManagerRegister1( 496 this js.Ref, retPtr unsafe.Pointer, 497 tag js.Ref) 498 499 //go:wasmimport plat/js/web try_PeriodicSyncManager_Register1 500 //go:noescape 501 func TryPeriodicSyncManagerRegister1( 502 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 503 tag js.Ref) (ok js.Ref) 504 505 //go:wasmimport plat/js/web has_PeriodicSyncManager_GetTags 506 //go:noescape 507 func HasFuncPeriodicSyncManagerGetTags(this js.Ref) js.Ref 508 509 //go:wasmimport plat/js/web func_PeriodicSyncManager_GetTags 510 //go:noescape 511 func FuncPeriodicSyncManagerGetTags(this js.Ref, fn unsafe.Pointer) 512 513 //go:wasmimport plat/js/web call_PeriodicSyncManager_GetTags 514 //go:noescape 515 func CallPeriodicSyncManagerGetTags( 516 this js.Ref, retPtr unsafe.Pointer) 517 518 //go:wasmimport plat/js/web try_PeriodicSyncManager_GetTags 519 //go:noescape 520 func TryPeriodicSyncManagerGetTags( 521 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 522 523 //go:wasmimport plat/js/web has_PeriodicSyncManager_Unregister 524 //go:noescape 525 func HasFuncPeriodicSyncManagerUnregister(this js.Ref) js.Ref 526 527 //go:wasmimport plat/js/web func_PeriodicSyncManager_Unregister 528 //go:noescape 529 func FuncPeriodicSyncManagerUnregister(this js.Ref, fn unsafe.Pointer) 530 531 //go:wasmimport plat/js/web call_PeriodicSyncManager_Unregister 532 //go:noescape 533 func CallPeriodicSyncManagerUnregister( 534 this js.Ref, retPtr unsafe.Pointer, 535 tag js.Ref) 536 537 //go:wasmimport plat/js/web try_PeriodicSyncManager_Unregister 538 //go:noescape 539 func TryPeriodicSyncManagerUnregister( 540 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 541 tag js.Ref) (ok js.Ref) 542 543 //go:wasmimport plat/js/web store_CookieStoreGetOptions 544 //go:noescape 545 func CookieStoreGetOptionsJSStore( 546 ptr unsafe.Pointer, ref js.Ref) 547 548 //go:wasmimport plat/js/web load_CookieStoreGetOptions 549 //go:noescape 550 func CookieStoreGetOptionsJSLoad( 551 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 552 553 //go:wasmimport plat/js/web has_CookieStoreManager_Subscribe 554 //go:noescape 555 func HasFuncCookieStoreManagerSubscribe(this js.Ref) js.Ref 556 557 //go:wasmimport plat/js/web func_CookieStoreManager_Subscribe 558 //go:noescape 559 func FuncCookieStoreManagerSubscribe(this js.Ref, fn unsafe.Pointer) 560 561 //go:wasmimport plat/js/web call_CookieStoreManager_Subscribe 562 //go:noescape 563 func CallCookieStoreManagerSubscribe( 564 this js.Ref, retPtr unsafe.Pointer, 565 subscriptions js.Ref) 566 567 //go:wasmimport plat/js/web try_CookieStoreManager_Subscribe 568 //go:noescape 569 func TryCookieStoreManagerSubscribe( 570 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 571 subscriptions js.Ref) (ok js.Ref) 572 573 //go:wasmimport plat/js/web has_CookieStoreManager_GetSubscriptions 574 //go:noescape 575 func HasFuncCookieStoreManagerGetSubscriptions(this js.Ref) js.Ref 576 577 //go:wasmimport plat/js/web func_CookieStoreManager_GetSubscriptions 578 //go:noescape 579 func FuncCookieStoreManagerGetSubscriptions(this js.Ref, fn unsafe.Pointer) 580 581 //go:wasmimport plat/js/web call_CookieStoreManager_GetSubscriptions 582 //go:noescape 583 func CallCookieStoreManagerGetSubscriptions( 584 this js.Ref, retPtr unsafe.Pointer) 585 586 //go:wasmimport plat/js/web try_CookieStoreManager_GetSubscriptions 587 //go:noescape 588 func TryCookieStoreManagerGetSubscriptions( 589 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 590 591 //go:wasmimport plat/js/web has_CookieStoreManager_Unsubscribe 592 //go:noescape 593 func HasFuncCookieStoreManagerUnsubscribe(this js.Ref) js.Ref 594 595 //go:wasmimport plat/js/web func_CookieStoreManager_Unsubscribe 596 //go:noescape 597 func FuncCookieStoreManagerUnsubscribe(this js.Ref, fn unsafe.Pointer) 598 599 //go:wasmimport plat/js/web call_CookieStoreManager_Unsubscribe 600 //go:noescape 601 func CallCookieStoreManagerUnsubscribe( 602 this js.Ref, retPtr unsafe.Pointer, 603 subscriptions js.Ref) 604 605 //go:wasmimport plat/js/web try_CookieStoreManager_Unsubscribe 606 //go:noescape 607 func TryCookieStoreManagerUnsubscribe( 608 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 609 subscriptions js.Ref) (ok js.Ref) 610 611 //go:wasmimport plat/js/web constof_ContentCategory 612 //go:noescape 613 func ConstOfContentCategory(str js.Ref) uint32 614 615 //go:wasmimport plat/js/web store_ContentDescription 616 //go:noescape 617 func ContentDescriptionJSStore( 618 ptr unsafe.Pointer, ref js.Ref) 619 620 //go:wasmimport plat/js/web load_ContentDescription 621 //go:noescape 622 func ContentDescriptionJSLoad( 623 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 624 625 //go:wasmimport plat/js/web has_ContentIndex_Add 626 //go:noescape 627 func HasFuncContentIndexAdd(this js.Ref) js.Ref 628 629 //go:wasmimport plat/js/web func_ContentIndex_Add 630 //go:noescape 631 func FuncContentIndexAdd(this js.Ref, fn unsafe.Pointer) 632 633 //go:wasmimport plat/js/web call_ContentIndex_Add 634 //go:noescape 635 func CallContentIndexAdd( 636 this js.Ref, retPtr unsafe.Pointer, 637 description unsafe.Pointer) 638 639 //go:wasmimport plat/js/web try_ContentIndex_Add 640 //go:noescape 641 func TryContentIndexAdd( 642 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 643 description unsafe.Pointer) (ok js.Ref) 644 645 //go:wasmimport plat/js/web has_ContentIndex_Delete 646 //go:noescape 647 func HasFuncContentIndexDelete(this js.Ref) js.Ref 648 649 //go:wasmimport plat/js/web func_ContentIndex_Delete 650 //go:noescape 651 func FuncContentIndexDelete(this js.Ref, fn unsafe.Pointer) 652 653 //go:wasmimport plat/js/web call_ContentIndex_Delete 654 //go:noescape 655 func CallContentIndexDelete( 656 this js.Ref, retPtr unsafe.Pointer, 657 id js.Ref) 658 659 //go:wasmimport plat/js/web try_ContentIndex_Delete 660 //go:noescape 661 func TryContentIndexDelete( 662 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 663 id js.Ref) (ok js.Ref) 664 665 //go:wasmimport plat/js/web has_ContentIndex_GetAll 666 //go:noescape 667 func HasFuncContentIndexGetAll(this js.Ref) js.Ref 668 669 //go:wasmimport plat/js/web func_ContentIndex_GetAll 670 //go:noescape 671 func FuncContentIndexGetAll(this js.Ref, fn unsafe.Pointer) 672 673 //go:wasmimport plat/js/web call_ContentIndex_GetAll 674 //go:noescape 675 func CallContentIndexGetAll( 676 this js.Ref, retPtr unsafe.Pointer) 677 678 //go:wasmimport plat/js/web try_ContentIndex_GetAll 679 //go:noescape 680 func TryContentIndexGetAll( 681 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 682 683 //go:wasmimport plat/js/web get_ServiceWorkerRegistration_Installing 684 //go:noescape 685 func GetServiceWorkerRegistrationInstalling( 686 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 687 688 //go:wasmimport plat/js/web get_ServiceWorkerRegistration_Waiting 689 //go:noescape 690 func GetServiceWorkerRegistrationWaiting( 691 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 692 693 //go:wasmimport plat/js/web get_ServiceWorkerRegistration_Active 694 //go:noescape 695 func GetServiceWorkerRegistrationActive( 696 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 697 698 //go:wasmimport plat/js/web get_ServiceWorkerRegistration_NavigationPreload 699 //go:noescape 700 func GetServiceWorkerRegistrationNavigationPreload( 701 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 702 703 //go:wasmimport plat/js/web get_ServiceWorkerRegistration_Scope 704 //go:noescape 705 func GetServiceWorkerRegistrationScope( 706 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 707 708 //go:wasmimport plat/js/web get_ServiceWorkerRegistration_UpdateViaCache 709 //go:noescape 710 func GetServiceWorkerRegistrationUpdateViaCache( 711 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 712 713 //go:wasmimport plat/js/web get_ServiceWorkerRegistration_Sync 714 //go:noescape 715 func GetServiceWorkerRegistrationSync( 716 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 717 718 //go:wasmimport plat/js/web get_ServiceWorkerRegistration_BackgroundFetch 719 //go:noescape 720 func GetServiceWorkerRegistrationBackgroundFetch( 721 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 722 723 //go:wasmimport plat/js/web get_ServiceWorkerRegistration_PushManager 724 //go:noescape 725 func GetServiceWorkerRegistrationPushManager( 726 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 727 728 //go:wasmimport plat/js/web get_ServiceWorkerRegistration_PaymentManager 729 //go:noescape 730 func GetServiceWorkerRegistrationPaymentManager( 731 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 732 733 //go:wasmimport plat/js/web get_ServiceWorkerRegistration_PeriodicSync 734 //go:noescape 735 func GetServiceWorkerRegistrationPeriodicSync( 736 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 737 738 //go:wasmimport plat/js/web get_ServiceWorkerRegistration_Cookies 739 //go:noescape 740 func GetServiceWorkerRegistrationCookies( 741 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 742 743 //go:wasmimport plat/js/web get_ServiceWorkerRegistration_Index 744 //go:noescape 745 func GetServiceWorkerRegistrationIndex( 746 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 747 748 //go:wasmimport plat/js/web has_ServiceWorkerRegistration_Update 749 //go:noescape 750 func HasFuncServiceWorkerRegistrationUpdate(this js.Ref) js.Ref 751 752 //go:wasmimport plat/js/web func_ServiceWorkerRegistration_Update 753 //go:noescape 754 func FuncServiceWorkerRegistrationUpdate(this js.Ref, fn unsafe.Pointer) 755 756 //go:wasmimport plat/js/web call_ServiceWorkerRegistration_Update 757 //go:noescape 758 func CallServiceWorkerRegistrationUpdate( 759 this js.Ref, retPtr unsafe.Pointer) 760 761 //go:wasmimport plat/js/web try_ServiceWorkerRegistration_Update 762 //go:noescape 763 func TryServiceWorkerRegistrationUpdate( 764 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 765 766 //go:wasmimport plat/js/web has_ServiceWorkerRegistration_Unregister 767 //go:noescape 768 func HasFuncServiceWorkerRegistrationUnregister(this js.Ref) js.Ref 769 770 //go:wasmimport plat/js/web func_ServiceWorkerRegistration_Unregister 771 //go:noescape 772 func FuncServiceWorkerRegistrationUnregister(this js.Ref, fn unsafe.Pointer) 773 774 //go:wasmimport plat/js/web call_ServiceWorkerRegistration_Unregister 775 //go:noescape 776 func CallServiceWorkerRegistrationUnregister( 777 this js.Ref, retPtr unsafe.Pointer) 778 779 //go:wasmimport plat/js/web try_ServiceWorkerRegistration_Unregister 780 //go:noescape 781 func TryServiceWorkerRegistrationUnregister( 782 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 783 784 //go:wasmimport plat/js/web has_ServiceWorkerRegistration_ShowNotification 785 //go:noescape 786 func HasFuncServiceWorkerRegistrationShowNotification(this js.Ref) js.Ref 787 788 //go:wasmimport plat/js/web func_ServiceWorkerRegistration_ShowNotification 789 //go:noescape 790 func FuncServiceWorkerRegistrationShowNotification(this js.Ref, fn unsafe.Pointer) 791 792 //go:wasmimport plat/js/web call_ServiceWorkerRegistration_ShowNotification 793 //go:noescape 794 func CallServiceWorkerRegistrationShowNotification( 795 this js.Ref, retPtr unsafe.Pointer, 796 title js.Ref, 797 options unsafe.Pointer) 798 799 //go:wasmimport plat/js/web try_ServiceWorkerRegistration_ShowNotification 800 //go:noescape 801 func TryServiceWorkerRegistrationShowNotification( 802 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 803 title js.Ref, 804 options unsafe.Pointer) (ok js.Ref) 805 806 //go:wasmimport plat/js/web has_ServiceWorkerRegistration_ShowNotification1 807 //go:noescape 808 func HasFuncServiceWorkerRegistrationShowNotification1(this js.Ref) js.Ref 809 810 //go:wasmimport plat/js/web func_ServiceWorkerRegistration_ShowNotification1 811 //go:noescape 812 func FuncServiceWorkerRegistrationShowNotification1(this js.Ref, fn unsafe.Pointer) 813 814 //go:wasmimport plat/js/web call_ServiceWorkerRegistration_ShowNotification1 815 //go:noescape 816 func CallServiceWorkerRegistrationShowNotification1( 817 this js.Ref, retPtr unsafe.Pointer, 818 title js.Ref) 819 820 //go:wasmimport plat/js/web try_ServiceWorkerRegistration_ShowNotification1 821 //go:noescape 822 func TryServiceWorkerRegistrationShowNotification1( 823 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 824 title js.Ref) (ok js.Ref) 825 826 //go:wasmimport plat/js/web has_ServiceWorkerRegistration_GetNotifications 827 //go:noescape 828 func HasFuncServiceWorkerRegistrationGetNotifications(this js.Ref) js.Ref 829 830 //go:wasmimport plat/js/web func_ServiceWorkerRegistration_GetNotifications 831 //go:noescape 832 func FuncServiceWorkerRegistrationGetNotifications(this js.Ref, fn unsafe.Pointer) 833 834 //go:wasmimport plat/js/web call_ServiceWorkerRegistration_GetNotifications 835 //go:noescape 836 func CallServiceWorkerRegistrationGetNotifications( 837 this js.Ref, retPtr unsafe.Pointer, 838 filter unsafe.Pointer) 839 840 //go:wasmimport plat/js/web try_ServiceWorkerRegistration_GetNotifications 841 //go:noescape 842 func TryServiceWorkerRegistrationGetNotifications( 843 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 844 filter unsafe.Pointer) (ok js.Ref) 845 846 //go:wasmimport plat/js/web has_ServiceWorkerRegistration_GetNotifications1 847 //go:noescape 848 func HasFuncServiceWorkerRegistrationGetNotifications1(this js.Ref) js.Ref 849 850 //go:wasmimport plat/js/web func_ServiceWorkerRegistration_GetNotifications1 851 //go:noescape 852 func FuncServiceWorkerRegistrationGetNotifications1(this js.Ref, fn unsafe.Pointer) 853 854 //go:wasmimport plat/js/web call_ServiceWorkerRegistration_GetNotifications1 855 //go:noescape 856 func CallServiceWorkerRegistrationGetNotifications1( 857 this js.Ref, retPtr unsafe.Pointer) 858 859 //go:wasmimport plat/js/web try_ServiceWorkerRegistration_GetNotifications1 860 //go:noescape 861 func TryServiceWorkerRegistrationGetNotifications1( 862 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 863 864 //go:wasmimport plat/js/web constof_WorkerType 865 //go:noescape 866 func ConstOfWorkerType(str js.Ref) uint32 867 868 //go:wasmimport plat/js/web store_RegistrationOptions 869 //go:noescape 870 func RegistrationOptionsJSStore( 871 ptr unsafe.Pointer, ref js.Ref) 872 873 //go:wasmimport plat/js/web load_RegistrationOptions 874 //go:noescape 875 func RegistrationOptionsJSLoad( 876 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 877 878 //go:wasmimport plat/js/web get_ServiceWorkerContainer_Controller 879 //go:noescape 880 func GetServiceWorkerContainerController( 881 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 882 883 //go:wasmimport plat/js/web get_ServiceWorkerContainer_Ready 884 //go:noescape 885 func GetServiceWorkerContainerReady( 886 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 887 888 //go:wasmimport plat/js/web has_ServiceWorkerContainer_Register 889 //go:noescape 890 func HasFuncServiceWorkerContainerRegister(this js.Ref) js.Ref 891 892 //go:wasmimport plat/js/web func_ServiceWorkerContainer_Register 893 //go:noescape 894 func FuncServiceWorkerContainerRegister(this js.Ref, fn unsafe.Pointer) 895 896 //go:wasmimport plat/js/web call_ServiceWorkerContainer_Register 897 //go:noescape 898 func CallServiceWorkerContainerRegister( 899 this js.Ref, retPtr unsafe.Pointer, 900 scriptURL js.Ref, 901 options unsafe.Pointer) 902 903 //go:wasmimport plat/js/web try_ServiceWorkerContainer_Register 904 //go:noescape 905 func TryServiceWorkerContainerRegister( 906 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 907 scriptURL js.Ref, 908 options unsafe.Pointer) (ok js.Ref) 909 910 //go:wasmimport plat/js/web has_ServiceWorkerContainer_Register1 911 //go:noescape 912 func HasFuncServiceWorkerContainerRegister1(this js.Ref) js.Ref 913 914 //go:wasmimport plat/js/web func_ServiceWorkerContainer_Register1 915 //go:noescape 916 func FuncServiceWorkerContainerRegister1(this js.Ref, fn unsafe.Pointer) 917 918 //go:wasmimport plat/js/web call_ServiceWorkerContainer_Register1 919 //go:noescape 920 func CallServiceWorkerContainerRegister1( 921 this js.Ref, retPtr unsafe.Pointer, 922 scriptURL js.Ref) 923 924 //go:wasmimport plat/js/web try_ServiceWorkerContainer_Register1 925 //go:noescape 926 func TryServiceWorkerContainerRegister1( 927 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 928 scriptURL js.Ref) (ok js.Ref) 929 930 //go:wasmimport plat/js/web has_ServiceWorkerContainer_GetRegistration 931 //go:noescape 932 func HasFuncServiceWorkerContainerGetRegistration(this js.Ref) js.Ref 933 934 //go:wasmimport plat/js/web func_ServiceWorkerContainer_GetRegistration 935 //go:noescape 936 func FuncServiceWorkerContainerGetRegistration(this js.Ref, fn unsafe.Pointer) 937 938 //go:wasmimport plat/js/web call_ServiceWorkerContainer_GetRegistration 939 //go:noescape 940 func CallServiceWorkerContainerGetRegistration( 941 this js.Ref, retPtr unsafe.Pointer, 942 clientURL js.Ref) 943 944 //go:wasmimport plat/js/web try_ServiceWorkerContainer_GetRegistration 945 //go:noescape 946 func TryServiceWorkerContainerGetRegistration( 947 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 948 clientURL js.Ref) (ok js.Ref) 949 950 //go:wasmimport plat/js/web has_ServiceWorkerContainer_GetRegistration1 951 //go:noescape 952 func HasFuncServiceWorkerContainerGetRegistration1(this js.Ref) js.Ref 953 954 //go:wasmimport plat/js/web func_ServiceWorkerContainer_GetRegistration1 955 //go:noescape 956 func FuncServiceWorkerContainerGetRegistration1(this js.Ref, fn unsafe.Pointer) 957 958 //go:wasmimport plat/js/web call_ServiceWorkerContainer_GetRegistration1 959 //go:noescape 960 func CallServiceWorkerContainerGetRegistration1( 961 this js.Ref, retPtr unsafe.Pointer) 962 963 //go:wasmimport plat/js/web try_ServiceWorkerContainer_GetRegistration1 964 //go:noescape 965 func TryServiceWorkerContainerGetRegistration1( 966 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 967 968 //go:wasmimport plat/js/web has_ServiceWorkerContainer_GetRegistrations 969 //go:noescape 970 func HasFuncServiceWorkerContainerGetRegistrations(this js.Ref) js.Ref 971 972 //go:wasmimport plat/js/web func_ServiceWorkerContainer_GetRegistrations 973 //go:noescape 974 func FuncServiceWorkerContainerGetRegistrations(this js.Ref, fn unsafe.Pointer) 975 976 //go:wasmimport plat/js/web call_ServiceWorkerContainer_GetRegistrations 977 //go:noescape 978 func CallServiceWorkerContainerGetRegistrations( 979 this js.Ref, retPtr unsafe.Pointer) 980 981 //go:wasmimport plat/js/web try_ServiceWorkerContainer_GetRegistrations 982 //go:noescape 983 func TryServiceWorkerContainerGetRegistrations( 984 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 985 986 //go:wasmimport plat/js/web has_ServiceWorkerContainer_StartMessages 987 //go:noescape 988 func HasFuncServiceWorkerContainerStartMessages(this js.Ref) js.Ref 989 990 //go:wasmimport plat/js/web func_ServiceWorkerContainer_StartMessages 991 //go:noescape 992 func FuncServiceWorkerContainerStartMessages(this js.Ref, fn unsafe.Pointer) 993 994 //go:wasmimport plat/js/web call_ServiceWorkerContainer_StartMessages 995 //go:noescape 996 func CallServiceWorkerContainerStartMessages( 997 this js.Ref, retPtr unsafe.Pointer) 998 999 //go:wasmimport plat/js/web try_ServiceWorkerContainer_StartMessages 1000 //go:noescape 1001 func TryServiceWorkerContainerStartMessages( 1002 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 1003 1004 //go:wasmimport plat/js/web constof_MediaDeviceKind 1005 //go:noescape 1006 func ConstOfMediaDeviceKind(str js.Ref) uint32 1007 1008 //go:wasmimport plat/js/web get_MediaDeviceInfo_DeviceId 1009 //go:noescape 1010 func GetMediaDeviceInfoDeviceId( 1011 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 1012 1013 //go:wasmimport plat/js/web get_MediaDeviceInfo_Kind 1014 //go:noescape 1015 func GetMediaDeviceInfoKind( 1016 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 1017 1018 //go:wasmimport plat/js/web get_MediaDeviceInfo_Label 1019 //go:noescape 1020 func GetMediaDeviceInfoLabel( 1021 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 1022 1023 //go:wasmimport plat/js/web get_MediaDeviceInfo_GroupId 1024 //go:noescape 1025 func GetMediaDeviceInfoGroupId( 1026 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 1027 1028 //go:wasmimport plat/js/web has_MediaDeviceInfo_ToJSON 1029 //go:noescape 1030 func HasFuncMediaDeviceInfoToJSON(this js.Ref) js.Ref 1031 1032 //go:wasmimport plat/js/web func_MediaDeviceInfo_ToJSON 1033 //go:noescape 1034 func FuncMediaDeviceInfoToJSON(this js.Ref, fn unsafe.Pointer) 1035 1036 //go:wasmimport plat/js/web call_MediaDeviceInfo_ToJSON 1037 //go:noescape 1038 func CallMediaDeviceInfoToJSON( 1039 this js.Ref, retPtr unsafe.Pointer) 1040 1041 //go:wasmimport plat/js/web try_MediaDeviceInfo_ToJSON 1042 //go:noescape 1043 func TryMediaDeviceInfoToJSON( 1044 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 1045 1046 //go:wasmimport plat/js/web constof_SelfCapturePreferenceEnum 1047 //go:noescape 1048 func ConstOfSelfCapturePreferenceEnum(str js.Ref) uint32 1049 1050 //go:wasmimport plat/js/web constof_SystemAudioPreferenceEnum 1051 //go:noescape 1052 func ConstOfSystemAudioPreferenceEnum(str js.Ref) uint32 1053 1054 //go:wasmimport plat/js/web constof_SurfaceSwitchingPreferenceEnum 1055 //go:noescape 1056 func ConstOfSurfaceSwitchingPreferenceEnum(str js.Ref) uint32 1057 1058 //go:wasmimport plat/js/web constof_MonitorTypeSurfacesEnum 1059 //go:noescape 1060 func ConstOfMonitorTypeSurfacesEnum(str js.Ref) uint32 1061 1062 //go:wasmimport plat/js/web store_DisplayMediaStreamOptions 1063 //go:noescape 1064 func DisplayMediaStreamOptionsJSStore( 1065 ptr unsafe.Pointer, ref js.Ref) 1066 1067 //go:wasmimport plat/js/web load_DisplayMediaStreamOptions 1068 //go:noescape 1069 func DisplayMediaStreamOptionsJSLoad( 1070 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 1071 1072 //go:wasmimport plat/js/web store_ViewportMediaStreamConstraints 1073 //go:noescape 1074 func ViewportMediaStreamConstraintsJSStore( 1075 ptr unsafe.Pointer, ref js.Ref) 1076 1077 //go:wasmimport plat/js/web load_ViewportMediaStreamConstraints 1078 //go:noescape 1079 func ViewportMediaStreamConstraintsJSLoad( 1080 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 1081 1082 //go:wasmimport plat/js/web store_MediaTrackSupportedConstraints 1083 //go:noescape 1084 func MediaTrackSupportedConstraintsJSStore( 1085 ptr unsafe.Pointer, ref js.Ref) 1086 1087 //go:wasmimport plat/js/web load_MediaTrackSupportedConstraints 1088 //go:noescape 1089 func MediaTrackSupportedConstraintsJSLoad( 1090 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 1091 1092 //go:wasmimport plat/js/web has_MediaDevices_EnumerateDevices 1093 //go:noescape 1094 func HasFuncMediaDevicesEnumerateDevices(this js.Ref) js.Ref 1095 1096 //go:wasmimport plat/js/web func_MediaDevices_EnumerateDevices 1097 //go:noescape 1098 func FuncMediaDevicesEnumerateDevices(this js.Ref, fn unsafe.Pointer) 1099 1100 //go:wasmimport plat/js/web call_MediaDevices_EnumerateDevices 1101 //go:noescape 1102 func CallMediaDevicesEnumerateDevices( 1103 this js.Ref, retPtr unsafe.Pointer) 1104 1105 //go:wasmimport plat/js/web try_MediaDevices_EnumerateDevices 1106 //go:noescape 1107 func TryMediaDevicesEnumerateDevices( 1108 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 1109 1110 //go:wasmimport plat/js/web has_MediaDevices_GetDisplayMedia 1111 //go:noescape 1112 func HasFuncMediaDevicesGetDisplayMedia(this js.Ref) js.Ref 1113 1114 //go:wasmimport plat/js/web func_MediaDevices_GetDisplayMedia 1115 //go:noescape 1116 func FuncMediaDevicesGetDisplayMedia(this js.Ref, fn unsafe.Pointer) 1117 1118 //go:wasmimport plat/js/web call_MediaDevices_GetDisplayMedia 1119 //go:noescape 1120 func CallMediaDevicesGetDisplayMedia( 1121 this js.Ref, retPtr unsafe.Pointer, 1122 options unsafe.Pointer) 1123 1124 //go:wasmimport plat/js/web try_MediaDevices_GetDisplayMedia 1125 //go:noescape 1126 func TryMediaDevicesGetDisplayMedia( 1127 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1128 options unsafe.Pointer) (ok js.Ref) 1129 1130 //go:wasmimport plat/js/web has_MediaDevices_GetDisplayMedia1 1131 //go:noescape 1132 func HasFuncMediaDevicesGetDisplayMedia1(this js.Ref) js.Ref 1133 1134 //go:wasmimport plat/js/web func_MediaDevices_GetDisplayMedia1 1135 //go:noescape 1136 func FuncMediaDevicesGetDisplayMedia1(this js.Ref, fn unsafe.Pointer) 1137 1138 //go:wasmimport plat/js/web call_MediaDevices_GetDisplayMedia1 1139 //go:noescape 1140 func CallMediaDevicesGetDisplayMedia1( 1141 this js.Ref, retPtr unsafe.Pointer) 1142 1143 //go:wasmimport plat/js/web try_MediaDevices_GetDisplayMedia1 1144 //go:noescape 1145 func TryMediaDevicesGetDisplayMedia1( 1146 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 1147 1148 //go:wasmimport plat/js/web has_MediaDevices_SetSupportedCaptureActions 1149 //go:noescape 1150 func HasFuncMediaDevicesSetSupportedCaptureActions(this js.Ref) js.Ref 1151 1152 //go:wasmimport plat/js/web func_MediaDevices_SetSupportedCaptureActions 1153 //go:noescape 1154 func FuncMediaDevicesSetSupportedCaptureActions(this js.Ref, fn unsafe.Pointer) 1155 1156 //go:wasmimport plat/js/web call_MediaDevices_SetSupportedCaptureActions 1157 //go:noescape 1158 func CallMediaDevicesSetSupportedCaptureActions( 1159 this js.Ref, retPtr unsafe.Pointer, 1160 actions js.Ref) 1161 1162 //go:wasmimport plat/js/web try_MediaDevices_SetSupportedCaptureActions 1163 //go:noescape 1164 func TryMediaDevicesSetSupportedCaptureActions( 1165 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1166 actions js.Ref) (ok js.Ref) 1167 1168 //go:wasmimport plat/js/web has_MediaDevices_SelectAudioOutput 1169 //go:noescape 1170 func HasFuncMediaDevicesSelectAudioOutput(this js.Ref) js.Ref 1171 1172 //go:wasmimport plat/js/web func_MediaDevices_SelectAudioOutput 1173 //go:noescape 1174 func FuncMediaDevicesSelectAudioOutput(this js.Ref, fn unsafe.Pointer) 1175 1176 //go:wasmimport plat/js/web call_MediaDevices_SelectAudioOutput 1177 //go:noescape 1178 func CallMediaDevicesSelectAudioOutput( 1179 this js.Ref, retPtr unsafe.Pointer, 1180 options unsafe.Pointer) 1181 1182 //go:wasmimport plat/js/web try_MediaDevices_SelectAudioOutput 1183 //go:noescape 1184 func TryMediaDevicesSelectAudioOutput( 1185 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1186 options unsafe.Pointer) (ok js.Ref) 1187 1188 //go:wasmimport plat/js/web has_MediaDevices_SelectAudioOutput1 1189 //go:noescape 1190 func HasFuncMediaDevicesSelectAudioOutput1(this js.Ref) js.Ref 1191 1192 //go:wasmimport plat/js/web func_MediaDevices_SelectAudioOutput1 1193 //go:noescape 1194 func FuncMediaDevicesSelectAudioOutput1(this js.Ref, fn unsafe.Pointer) 1195 1196 //go:wasmimport plat/js/web call_MediaDevices_SelectAudioOutput1 1197 //go:noescape 1198 func CallMediaDevicesSelectAudioOutput1( 1199 this js.Ref, retPtr unsafe.Pointer) 1200 1201 //go:wasmimport plat/js/web try_MediaDevices_SelectAudioOutput1 1202 //go:noescape 1203 func TryMediaDevicesSelectAudioOutput1( 1204 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 1205 1206 //go:wasmimport plat/js/web has_MediaDevices_SetCaptureHandleConfig 1207 //go:noescape 1208 func HasFuncMediaDevicesSetCaptureHandleConfig(this js.Ref) js.Ref 1209 1210 //go:wasmimport plat/js/web func_MediaDevices_SetCaptureHandleConfig 1211 //go:noescape 1212 func FuncMediaDevicesSetCaptureHandleConfig(this js.Ref, fn unsafe.Pointer) 1213 1214 //go:wasmimport plat/js/web call_MediaDevices_SetCaptureHandleConfig 1215 //go:noescape 1216 func CallMediaDevicesSetCaptureHandleConfig( 1217 this js.Ref, retPtr unsafe.Pointer, 1218 config unsafe.Pointer) 1219 1220 //go:wasmimport plat/js/web try_MediaDevices_SetCaptureHandleConfig 1221 //go:noescape 1222 func TryMediaDevicesSetCaptureHandleConfig( 1223 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1224 config unsafe.Pointer) (ok js.Ref) 1225 1226 //go:wasmimport plat/js/web has_MediaDevices_SetCaptureHandleConfig1 1227 //go:noescape 1228 func HasFuncMediaDevicesSetCaptureHandleConfig1(this js.Ref) js.Ref 1229 1230 //go:wasmimport plat/js/web func_MediaDevices_SetCaptureHandleConfig1 1231 //go:noescape 1232 func FuncMediaDevicesSetCaptureHandleConfig1(this js.Ref, fn unsafe.Pointer) 1233 1234 //go:wasmimport plat/js/web call_MediaDevices_SetCaptureHandleConfig1 1235 //go:noescape 1236 func CallMediaDevicesSetCaptureHandleConfig1( 1237 this js.Ref, retPtr unsafe.Pointer) 1238 1239 //go:wasmimport plat/js/web try_MediaDevices_SetCaptureHandleConfig1 1240 //go:noescape 1241 func TryMediaDevicesSetCaptureHandleConfig1( 1242 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 1243 1244 //go:wasmimport plat/js/web has_MediaDevices_GetViewportMedia 1245 //go:noescape 1246 func HasFuncMediaDevicesGetViewportMedia(this js.Ref) js.Ref 1247 1248 //go:wasmimport plat/js/web func_MediaDevices_GetViewportMedia 1249 //go:noescape 1250 func FuncMediaDevicesGetViewportMedia(this js.Ref, fn unsafe.Pointer) 1251 1252 //go:wasmimport plat/js/web call_MediaDevices_GetViewportMedia 1253 //go:noescape 1254 func CallMediaDevicesGetViewportMedia( 1255 this js.Ref, retPtr unsafe.Pointer, 1256 constraints unsafe.Pointer) 1257 1258 //go:wasmimport plat/js/web try_MediaDevices_GetViewportMedia 1259 //go:noescape 1260 func TryMediaDevicesGetViewportMedia( 1261 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1262 constraints unsafe.Pointer) (ok js.Ref) 1263 1264 //go:wasmimport plat/js/web has_MediaDevices_GetViewportMedia1 1265 //go:noescape 1266 func HasFuncMediaDevicesGetViewportMedia1(this js.Ref) js.Ref 1267 1268 //go:wasmimport plat/js/web func_MediaDevices_GetViewportMedia1 1269 //go:noescape 1270 func FuncMediaDevicesGetViewportMedia1(this js.Ref, fn unsafe.Pointer) 1271 1272 //go:wasmimport plat/js/web call_MediaDevices_GetViewportMedia1 1273 //go:noescape 1274 func CallMediaDevicesGetViewportMedia1( 1275 this js.Ref, retPtr unsafe.Pointer) 1276 1277 //go:wasmimport plat/js/web try_MediaDevices_GetViewportMedia1 1278 //go:noescape 1279 func TryMediaDevicesGetViewportMedia1( 1280 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 1281 1282 //go:wasmimport plat/js/web has_MediaDevices_GetSupportedConstraints 1283 //go:noescape 1284 func HasFuncMediaDevicesGetSupportedConstraints(this js.Ref) js.Ref 1285 1286 //go:wasmimport plat/js/web func_MediaDevices_GetSupportedConstraints 1287 //go:noescape 1288 func FuncMediaDevicesGetSupportedConstraints(this js.Ref, fn unsafe.Pointer) 1289 1290 //go:wasmimport plat/js/web call_MediaDevices_GetSupportedConstraints 1291 //go:noescape 1292 func CallMediaDevicesGetSupportedConstraints( 1293 this js.Ref, retPtr unsafe.Pointer) 1294 1295 //go:wasmimport plat/js/web try_MediaDevices_GetSupportedConstraints 1296 //go:noescape 1297 func TryMediaDevicesGetSupportedConstraints( 1298 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 1299 1300 //go:wasmimport plat/js/web has_MediaDevices_GetUserMedia 1301 //go:noescape 1302 func HasFuncMediaDevicesGetUserMedia(this js.Ref) js.Ref 1303 1304 //go:wasmimport plat/js/web func_MediaDevices_GetUserMedia 1305 //go:noescape 1306 func FuncMediaDevicesGetUserMedia(this js.Ref, fn unsafe.Pointer) 1307 1308 //go:wasmimport plat/js/web call_MediaDevices_GetUserMedia 1309 //go:noescape 1310 func CallMediaDevicesGetUserMedia( 1311 this js.Ref, retPtr unsafe.Pointer, 1312 constraints unsafe.Pointer) 1313 1314 //go:wasmimport plat/js/web try_MediaDevices_GetUserMedia 1315 //go:noescape 1316 func TryMediaDevicesGetUserMedia( 1317 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1318 constraints unsafe.Pointer) (ok js.Ref) 1319 1320 //go:wasmimport plat/js/web has_MediaDevices_GetUserMedia1 1321 //go:noescape 1322 func HasFuncMediaDevicesGetUserMedia1(this js.Ref) js.Ref 1323 1324 //go:wasmimport plat/js/web func_MediaDevices_GetUserMedia1 1325 //go:noescape 1326 func FuncMediaDevicesGetUserMedia1(this js.Ref, fn unsafe.Pointer) 1327 1328 //go:wasmimport plat/js/web call_MediaDevices_GetUserMedia1 1329 //go:noescape 1330 func CallMediaDevicesGetUserMedia1( 1331 this js.Ref, retPtr unsafe.Pointer) 1332 1333 //go:wasmimport plat/js/web try_MediaDevices_GetUserMedia1 1334 //go:noescape 1335 func TryMediaDevicesGetUserMedia1( 1336 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 1337 1338 //go:wasmimport plat/js/web store_SerialPortInfo 1339 //go:noescape 1340 func SerialPortInfoJSStore( 1341 ptr unsafe.Pointer, ref js.Ref) 1342 1343 //go:wasmimport plat/js/web load_SerialPortInfo 1344 //go:noescape 1345 func SerialPortInfoJSLoad( 1346 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 1347 1348 //go:wasmimport plat/js/web constof_ParityType 1349 //go:noescape 1350 func ConstOfParityType(str js.Ref) uint32