as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
アクセスいただきありがとうございます。こちらのページは現在英語のみのご用意となっております。順次日本語化を進めてまいりますので、ご理解のほどよろしくお願いいたします。

default

API for adding and removing recommendations on device.

RecommendationManager is a local recommendation service on device that takes in the recommendations provided by client applications and displays them on the device home screen.

Extended by

Constructors

new default()

new default(): default

Returns

default

Methods

addRecommendations()

static addRecommendations(recommendations): number[]

Adds new recommendations on this device to be shown to user. The application has a predefined maximum limit for the number of recommendations it can hold concurrently. If this limit is surpassed, the system will delete older items based on their received timestamps

required privilege : "com.amazon.privilege.security.file-sharing"

Parameters

recommendations

Recommendation[]

Returns

number[]


getMajorVersion()

static getMajorVersion(): number

Get the Major version of the underlying native module. This can be used to make version checks.

Returns

number


getMinorVersion()

static getMinorVersion(): number

Get the Minor version of the underlying native module. This can be used to make version checks.

Returns

number


getPatchVersion()

static getPatchVersion(): number

Get the patch version of the underlying native module. This can be used to make version checks.

Returns

number


removeAllRecommendations()

static removeAllRecommendations(): void

Removes all the recommendations sent previously by this client.

Returns

void


removeRecommendations()

static removeRecommendations(ids): void

Removes recommendations sent previously. Any recommendation id present for this client are removed, any ids not found are ignored.

Parameters

ids

number[]

array that contains recommendation ids to be removed.

Returns

void


Last updated: Oct 02, 2025