{{ PreviousNext("Gecko Plugin API Reference:Version, UI, and Status Information", "Gecko Plugin API Reference:Browser Side Plug-in API") }} {{ Npapiref() }}
This chapter describes methods in the plug-in API that are available for the plug-in object. The names of all of these methods begin with NPP_
to indicate that they are implemented by the plug-in and called by the browser. For an overview of how these two sides of the plug-in API interact, see the {{ Npapi-section("Plug-in Basics", "How Plug-ins Work") }} and {{ Npapi-section("Plug-in Basics", "Overview of Plug-in Structure") }} sections in the introduction.
Plugin method summary
- {{ Npapi("NPP_Destroy") }}
- Deletes a specific instance of a plug-in.
- {{ Npapi("NPP_DestroyStream") }}
- Tells the plug-in that a stream is about to be closed or destroyed.
- {{ Npapi("NP_GetEntryPoints") }}
- Undocumented.
- {{ Npapi("NP_GetMIMEDescription") }}
- Undocumented.
- {{ Npapi("NPP_GetValue") }}
- Allows the browser to query the plug-in for information.
- {{ Npapi("NP_GetValue") }}
- Allows the browser to query the plug-in for information.
- {{ Npapi("NPP_HandleEvent") }}
- Delivers a platform-specific window event to the instance.
- {{ Npapi("NP_Initialize") }}
- Provides global initialization for a plug-in.
- {{ Npapi("NPP_New") }}
- Creates a new instance of a plug-in.
- {{ Npapi("NPP_NewStream") }}
- Notifies a plug-in instance of a new data stream.
- {{ Npapi("NPP_Print") }}
- Requests a platform-specific print operation for an embedded or full-screen plug-in.
- {{ Npapi("NPP_SetValue") }}
- Sets information about the plug-in.
- {{ Npapi("NPP_SetWindow") }}
- Tells the plug-in when a window is created, moved, sized, or destroyed.
- {{ Npapi("NP_Shutdown") }}
- Provides global deinitialization for a plug-in.
- {{ Npapi("NPP_StreamAsFile") }}
- Provides a local file name for the data from a stream.
- {{ Npapi("NPP_URLNotify") }}
- Notifies the instance of the completion of a URL request.
- {{ Npapi("NPP_Write") }}
- Delivers data to a plug-in instance.
- {{ Npapi("NPP_WriteReady") }}
- Determines maximum number of bytes that the plug-in can consume.
{{ PreviousNext("Gecko Plugin API Reference:Version, UI, and Status Information", "Gecko Plugin API Reference:Browser Side Plug-in API") }}