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
Skip to main content
An interface for a handler that provides the service logic of the PlayerServer.

Properties

handleClearTextView()

handleClearTextView: (sessionId?) => void Handles a request to clear the text view. This call is received when apps call IPlayerClient.clearTextView from interactive component. Apps must implement this function to call clearCaptionViewHandle on VideoPlayer instance corresponding to sessionId.

Parameters

sessionId?
IPlayerSessionId The session ID to target for clearing the captions surface. If not specified, the PlayerServer decides how to handle the request.

Returns

void

Throws

if the given sessionId does not exist.

handleClearVideoView()

handleClearVideoView: (sessionId?) => void Handles a request to clear the text view. This call is received when apps call IPlayerClient.clearVideoView from interactive component. Apps must implement this function to call clearSurfaceHandle on VideoPlayer instance corresponding to sessionId.

Parameters

sessionId?
IPlayerSessionId The session ID to target for clearing the text view. If not specified, the PlayerServer decides how to handle the request.

Returns

void

Throws

if the given sessionId does not exist.
Last modified on October 2, 2025