getRandomWallpaper

Returns a fixed amount of random wallpapers.

This method belongs to the class - Alpha

Parameters

PARAMETERTYPEDESCRIPTION

device

Type of the Device.

Returns

Promise<Array<Wallpaper>>

Example Code

<Alpha>.getRandomWallpaper().then(x => console.log(x));

// OR

<Alpha>.getRandomWallpaper('phone').then(x => console.log(x));

Last updated