# NotificationService

Roblox Engine API class from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- Inherits from, nearest first: [Instance](https://rapi.sleaze.dev/classes/Instance.md), [Object](https://rapi.sleaze.dev/classes/Object.md)
- Tags: Not creatable, Service
- Memory category: Instances
- HTML page: https://rapi.sleaze.dev/classes/NotificationService/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/NotificationService

## Properties

### IsLuaChatEnabled

```luau
NotificationService.IsLuaChatEnabled: boolean
```

- Tags: Hidden, Read only, Roblox script security, Read capabilities: Players

### IsLuaGameDetailsEnabled

```luau
NotificationService.IsLuaGameDetailsEnabled: boolean
```

- Tags: Read only, Roblox script security, Read capabilities: Players

### SelectedTheme

```luau
NotificationService.SelectedTheme: string
```

- Tags: Not replicated, Roblox script security, Read capabilities: Players, Load only

### IsConnected

```luau
NotificationService.IsConnected: boolean
```

- Tags: Hidden, Read only, Roblox script security, Read capabilities: Players

## Methods

### ActionEnabled

```luau
NotificationService:ActionEnabled(actionType: Enum.AppShellActionType)
```

- Tags: Roblox script security, Capabilities: Players

### ActionTaken

```luau
NotificationService:ActionTaken(actionType: Enum.AppShellActionType)
```

- Tags: Roblox script security, Capabilities: Players

### CancelAllNotification

```luau
NotificationService:CancelAllNotification(userId: number)
```

- Tags: Local user security, Capabilities: Players

### CancelNotification

```luau
NotificationService:CancelNotification(userId: number, alertId: number)
```

- Tags: Local user security, Capabilities: Players

### GetScheduledNotifications

```luau
NotificationService:GetScheduledNotifications(userId: number): { any }
```

- Tags: Yields, Local user security, Capabilities: Players

### ScheduleNotification

```luau
NotificationService:ScheduleNotification(userId: number, alertId: number, alertMsg: string, minutesToFire: number)
```

- Tags: Local user security, Capabilities: Players

### SubscribeToRccEventNamespace

```luau
NotificationService:SubscribeToRccEventNamespace(eventNamespace: string)
```

- Tags: Roblox script security, Capabilities: Players

### SubscribeToTopic

```luau
NotificationService:SubscribeToTopic(token: string, replaceToken: string? = "")
```

- Tags: Roblox script security, Capabilities: Players

### SwitchedToAppShellFeature

```luau
NotificationService:SwitchedToAppShellFeature(appShellFeature: Enum.AppShellFeature)
```

- Tags: Roblox script security, Capabilities: Players

### UnsubscribeFromTopic

```luau
NotificationService:UnsubscribeFromTopic(token: string)
```

- Tags: Roblox script security, Capabilities: Players

## Events

### RccConnectionChanged

```luau
NotificationService.RccConnectionChanged: RBXScriptSignal<(connectionName: string, connectionState: Enum.ConnectionState, rccSequenceNumber: string, userIdToNamespaceSequenceNumbers: { [any]: any })>
```

- Tags: Roblox script security, Capabilities: Players

### RccEventReceived

```luau
NotificationService.RccEventReceived: RBXScriptSignal<(eventData: { [any]: any }, userId: number)>
```

- Tags: Roblox script security, Capabilities: Players

### Roblox17sConnectionChanged

```luau
NotificationService.Roblox17sConnectionChanged: RBXScriptSignal<(connectionName: string, connectionState: Enum.ConnectionState, namespaceSequenceNumbers: string)>
```

- Tags: Capabilities: Players

### Roblox17sEventReceived

```luau
NotificationService.Roblox17sEventReceived: RBXScriptSignal<(eventData: { [any]: any })>
```

- Tags: Capabilities: Players

### RobloxConnectionChanged

```luau
NotificationService.RobloxConnectionChanged: RBXScriptSignal<(connectionName: string, connectionState: Enum.ConnectionState, sequenceNumber: string, namespaceSequenceNumbers: string)>
```

- Tags: Roblox script security, Capabilities: Players

### RobloxEventReceived

```luau
NotificationService.RobloxEventReceived: RBXScriptSignal<(eventData: { [any]: any })>
```

- Tags: Roblox script security, Capabilities: Players

### TopicNotificationReceived

```luau
NotificationService.TopicNotificationReceived: RBXScriptSignal<(eventData: { [any]: any })>
```

- Tags: Roblox script security, Capabilities: Players

### TopicSubscriptionError

```luau
NotificationService.TopicSubscriptionError: RBXScriptSignal<(eventData: { [any]: any })>
```

- Tags: Roblox script security, Capabilities: Players

### TopicTokenExpiry

```luau
NotificationService.TopicTokenExpiry: RBXScriptSignal<(eventData: { [any]: any })>
```

- Tags: Roblox script security, Capabilities: Players

## Inherited members

- From [Instance](https://rapi.sleaze.dev/classes/Instance.md): `Archivable`, `archivable`, `Attributes`, `AttributesReplicate`, `AttributesSerialize`, `HistoryId`, `Name`, `Parent`, `PredictionMode`, `PropertyStatusStudio`, `RobloxLocked`, `SerializedOverrides`, `SourceAssetId`, `Tags`, `UniqueId`, `numExpectedDirectChildren`, `DataCost`, `Capabilities`, `DefinesCapabilities`, `IsInSandbox`, `Sandboxed`, `AddTag`, `ClearAllChildren`, `Clone`, `Destroy`, `FindFirstAncestor`, `FindFirstAncestorOfClass`, `FindFirstAncestorWhichIsA`, `FindFirstChild`, `FindFirstChildOfClass`, `FindFirstChildWhichIsA`, `FindFirstDescendant`, `GetActor`, `GetAttribute`, `GetAttributeChangedSignal`, `GetAttributes`, `GetChildren`, `GetDebugId`, `GetDescendants`, `GetFullName`, `GetStyled`, `GetStyledPropertyChangedSignal`, `GetTags`, `HasTag`, `IsAncestorOf`, `IsDescendantOf`, `IsPropertyModified`, `QueryDescendants`, `RemoveTag`, `ResetPropertyToDefault`, `SetAttribute`, `WaitForChild`, `Remove`, `children`, `clone`, `destroy`, `findFirstChild`, `getChildren`, `isDescendantOf`, `remove`, `AncestryChanged`, `AttributeChanged`, `ChildAdded`, `ChildRemoved`, `DescendantAdded`, `DescendantRemoving`, `Destroying`, `StyledPropertiesChanged`, `childAdded`
- From [Object](https://rapi.sleaze.dev/classes/Object.md): `ClassName`, `className`, `GetPropertyChangedSignal`, `IsA`, `isA`, `Changed`
