Mobile/Flash
< Mobile
Jump to navigation
Jump to search
Flash on Android
Plugins are implemented on Android using an extended version of NPAPI. The extensions are used for drawing, playing audio, finding fonts, pretty much everything.
The plugin requests the extended APIs via NPN_getvalue. For each interface, Firefox returns a struct that contains function pointers which implement the interface. There a great many of these, and we have not implemented everything yet. Below I've outlined all of the interfaces and marked which ones are complete, partial, or incomplete. The definitions of the interfaces, including associated types, can be found here.
Interface name | Status |
---|---|
ANPLogInterfaceV0 | COMPLETE |
ANPBitmapInterfaceV0 | COMPLETE |
ANPMatrixInterfaceV0 | INCOMPLETE |
ANPPathInterfaceV0 | COMPLETE |
ANPTypefaceInterfaceV0 | COMPLETE |
ANPPaintInterfaceV0 | COMPLETE |
ANPCanvasInterfaceV0 | COMPLETE |
ANPWindowInterfaceV0
|
PARTIAL |
ANPWindowInterfaceV1 | INCOMPLETE |
ANPWindowInterfaceV2 | INCOMPLETE |
ANPAudioTrackInterfaceV0 | COMPLETE |
ANPAudioTrackInterfaceV1 | INCOMPLETE |
ANPEventInterfaceV0 | COMPLETE |
ANPSystemInterfaceV0 | COMPLETE |
ANPSystemInterfaceV1 | COMPLETE |
ANPSystemInterfaceV2 | COMPLETE |
ANPSurfaceInterfaceV0 | COMPLETE |
ANPOpenGLInterfaceV0 | INCOMPLETE |
ANPVideoInterfaceV0 | COMPLETE |
ANPVideoInterfaceV1 | INCOMPLETE |
ANPNativeWindowInterfaceV0 | COMPLETE |