Skip to main content

tvOS

The tvOS namespace provides access to key tvOS platform features, including screen size, device information, virtual keyboard management, and application directory paths. It also includes functions for managing the application lifecycle and opening URLs.

#include <system/TellusimtvOS.h>

Functions

TvOS application.

void *getApplication()
bool isCreated()
bool isFocused()

Screen size.

uint32_t getWidth()
uint32_t getHeight()
float32_t getScale()

Device info.

String getModel()

Virtual keyboard.

bool setKeyboardHidden(bool hidden)
bool isKeyboardHidden()

Application home directory.

String getHomeDirectory()

Application caches directory.

String getCachesDirectory()

Application documents directory.

String getDocumentsDirectory()

Open url.

bool openUrl(const char *name)
bool openUrl(const String &name)