Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IKeplerMediaSurfaceProvider

interface IKeplerMediaSurfaceProvider
Extends com.amazon.apmf.IStandard Interface that act as provider for IMediaSurface. For each Surface created internally by UI component, there will be a IMediaSurface created by OS. This instance can be used to interact with OS services. Usage: To acquire the instance of IKeplerMediaSurfaceProvider, Developers will need to query this interface on ISurfaceView instance.

Methods

getMediaSurface()

com.amazon.kepler.graphics.IMediaSurface? getMediaSurface()
Returns instance of media surface which can be used to queue buffers for presentation.

Returns

com.amazon.kepler.graphics.IMediaSurface? The return value is optional and might be absent. pointer to IMediaSurface for ISurfaceView.
Last modified on October 29, 2026