> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetIsEnabled

> Retorna se o processo atual tem permissão no momento para controlar a iluminação de um periférico LampArray por meio da API de iluminação do GDK.

# ILampArray::GetIsEnabled

Obtém o estado de habilitação de um ILampArray para o processo atual.

## Sintaxe

```cpp theme={null}
bool GetIsEnabled(
)
```

### Parâmetros

Este método não tem parâmetros.

### Valor retornado

Tipo: bool

O estado de habilitação do ILampArray: true se o dispositivo estiver habilitado; caso contrário, false. Por padrão, os ILampArrays estão habilitados.

## Requisitos

**Cabeçalho:** LampArray.h

**Biblioteca:** xgameplatform.lib

**Plataformas compatíveis:** consoles da família XBOX One e consoles XBOX Series

## Confira também

[Visão geral da API de iluminação](/pt-BR/build/core-features/common/lighting/gc-lighting-toc)\
[ILampArray::SetIsEnabled](/pt-BR/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setisenabled)\
[ILampArray](/pt-BR/reference/lighting/lamparray/interfaces/ilamparray/ilamparray)


## Related topics

- [SetIsEnabled](/pt-BR/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_setisenabled.md)
- [ILampArray (conteúdo da interface)](/pt-BR/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)
- [Get Title Enabled For Multiplayer Servers Status](/api-reference/multiplayerserver/get-title-enabled-for-multiplayer-servers-status.md)
- [XClosedCaptionSetEnabled](/pt-BR/reference/system/xaccessibility/functions/xclosedcaptionsetenabled.md)
- [enabled_for_title](/pt-BR/services/playfab/api-references/events/MultiplayerServers/enabled-for-title.md)
