{{template.PreviousNext("Gecko Plugin API Reference:Version, UI, and Status Information", "Gecko Plugin API Reference:Browser Side Plug-in API")}} {{template.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 {{wiki.template('Npapi-section', [ "Plug-in Basics", "How Plug-ins Work" ])}} and {{wiki.template('Npapi-section', [ "Plug-in Basics", "Overview of Plug-in Structure" ])}} sections in the introduction.
Plugin method summary
- {{template.Npapi("NPP_Destroy")}}
- Deletes a specific instance of a plug-in.
- {{template.Npapi("NPP_DestroyStream")}}
- Tells the plug-in that a stream is about to be closed or destroyed.
- {{template.Npapi("NP_GetEntryPoints")}}
- Undocumented.
- {{template.Npapi("NP_GetMIMEDescription")}}
- Undocumented.
- {{template.Npapi("NPP_GetValue")}}
- Allows the browser to query the plug-in for information.
- {{template.Npapi("NP_GetValue")}}
- Allows the browser to query the plug-in for information.
- {{template.Npapi("NPP_HandleEvent")}}
- Delivers a platform-specific window event to the instance.
- {{template.Npapi("NP_Initialize")}}
- Provides global initialization for a plug-in.
- {{template.Npapi("NPP_New")}}
- Creates a new instance of a plug-in.
- {{template.Npapi("NPP_NewStream")}}
- Notifies a plug-in instance of a new data stream.
- {{template.Npapi("NPP_Print")}}
- Requests a platform-specific print operation for an embedded or full-screen plug-in.
- {{template.Npapi("NPP_SetValue")}}
- Sets information about the plug-in.
- {{template.Npapi("NPP_SetWindow")}}
- Tells the plug-in when a window is created, moved, sized, or destroyed.
- {{template.Npapi("NP_Shutdown")}}
- Provides global deinitialization for a plug-in.
- {{template.Npapi("NPP_StreamAsFile")}}
- Provides a local file name for the data from a stream.
- {{template.Npapi("NPP_URLNotify")}}
- Notifies the instance of the completion of a URL request.
- {{template.Npapi("NPP_Write")}}
- Delivers data to a plug-in instance.
- {{template.Npapi("NPP_WriteReady")}}
- Determines maximum number of bytes that the plug-in can consume.
{{template.PreviousNext("Gecko Plugin API Reference:Version, UI, and Status Information", "Gecko Plugin API Reference:Browser Side Plug-in API")}}