sdlIsTv function system

bool sdlIsTv()

Query if the current device is a TV.

If SDL can't determine this, it will return false.

\returns true if the device is a TV, false otherwise.

\since This function is available since SDL 3.2.0.

extern SDL_DECLSPEC bool SDLCALL SDL_IsTV(void)

Implementation

bool sdlIsTv() {
  final sdlIsTvLookupFunction = _libSdl
      .lookupFunction<Uint8 Function(), int Function()>('SDL_IsTV');
  return sdlIsTvLookupFunction() == 1;
}