AudioFocusService
This class is not replicated. Its interface does not cross the network boundary.
This class is not creatable. Instances of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
Memory category | Instances |
---|
Member index 9
Description
History 13
- 644 Add OnContextUnregistered
- 644 Add OnContextRegistered
- 644 Add GetRegisteredContexts
- 644 Add GetFocusedContextId
- 644 Change Parameters of AcquireFocus from (contextId: int, priority: int) to (contextId: int)
- 636 Change Parameters of OnUndeafenVoiceAudio from () to (contextId: int)
- 636 Change Parameters of OnDeafenVoiceAudio from () to (contextId: int)
- 635 Add OnUndeafenVoiceAudio
- 635 Add OnDeafenVoiceAudio
- 635 Add RequestFocus
- 635 Add RegisterContextIdFromLua
- 635 Add AcquireFocus
- 635 Add AudioFocusService
Members 9
AcquireFocus
Parameters (1) | ||
---|---|---|
contextId | int | |
Returns (1) | ||
bool |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 644 Change Parameters of AcquireFocus from (contextId: int, priority: int) to (contextId: int)
- 635 Add AcquireFocus
GetFocusedContextId
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
int |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
GetRegisteredContexts
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
Array |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
OnContextRegistered
Parameters (1) | |
---|---|
contextId | int |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
OnContextUnregistered
Parameters (1) | |
---|---|
contextId | int |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
OnDeafenVoiceAudio
Parameters (1) | |
---|---|
contextId | int |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 636 Change Parameters of OnDeafenVoiceAudio from () to (contextId: int)
- 635 Add OnDeafenVoiceAudio
OnUndeafenVoiceAudio
Parameters (1) | |
---|---|
contextId | int |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 636 Change Parameters of OnUndeafenVoiceAudio from () to (contextId: int)
- 635 Add OnUndeafenVoiceAudio
RegisterContextIdFromLua
Parameters (1) | ||
---|---|---|
contextId | int | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
RequestFocus
Parameters (2) | ||
---|---|---|
contextId | int | |
priority | int | |
Returns (1) | ||
bool |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
- 635 Add RequestFocus