Anúncio: todos os projetos não comerciais registrados para usar o Earth Engine antes de
15 de abril de 2025 precisam
verificar a qualificação não comercial para manter o acesso ao Earth Engine.
ui.Thumbnail.unlisten
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Exclui callbacks.
Uso | Retorna |
---|
Thumbnail.unlisten(idOrType) | |
Argumento | Tipo | Detalhes |
---|
isso: ui.widget | ui.Widget | A instância ui.Widget. |
idOrType | String, opcional | Um ID retornado por uma função onEventType() durante o registro de callback, um tipo de evento ou nada. Se um ID for transmitido, o callback correspondente será excluído. Se um tipo de evento for transmitido, todos os callbacks desse tipo serão excluídos. Se nada for transmitido, todos os callbacks serão excluídos. |
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-26 UTC.
[null,null,["Última atualização 2025-07-26 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eunlisten()\u003c/code\u003e method removes registered callbacks from a Thumbnail instance.\u003c/p\u003e\n"],["\u003cp\u003eYou can target specific callbacks for deletion using their unique ID or by event type.\u003c/p\u003e\n"],["\u003cp\u003eCalling \u003ccode\u003eunlisten()\u003c/code\u003e without arguments removes all registered callbacks.\u003c/p\u003e\n"]]],["The `Thumbnail.unlisten()` function deletes registered callbacks. It accepts an optional `idOrType` argument. If an ID is provided, the specific callback associated with that ID is removed. If an event type is provided, all callbacks for that type are deleted. If no argument is passed, all registered callbacks are deleted. The function is used within a `ui.Widget` instance and does not return any value.\n"],null,["# ui.Thumbnail.unlisten\n\n\u003cbr /\u003e\n\nDeletes callbacks.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------------|---------|\n| Thumbnail.unlisten`(`*idOrType*`)` | |\n\n| Argument | Type | Details |\n|-------------------|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `ui.widget` | ui.Widget | The ui.Widget instance. |\n| `idOrType` | String, optional | Either an ID returned by an onEventType() function during callback registration, an event type, or nothing. If an ID is passed, the corresponding callback is deleted. If an event type is passed, all callbacks for that type are deleted. If nothing is passed, all callbacks are deleted. |"]]