Skip to content
Roblox API Reference

SessionService

  • Not creatable
  • Service
Memory category
Instances
Own members
19
Inherited members
75
Subclasses
0
Siblings
608

Properties23

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Methods60

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Defined bySessionService18
  • SessionService:AcquireContextFocus(context: string)
    • Roblox script security
    Parameters
    Parameter
    context: string
  • SessionService:GenerateSessionInfoString(includeArbitrarySessions: boolean,includeTag: boolean,includeTimestamps: boolean,includeMetadata: boolean,): string
    • Roblox script security
    Parameters
    Parameter
    includeArbitrarySessions: boolean
    includeTag: boolean
    includeTimestamps: boolean
    includeMetadata: boolean
    Returns
    Type
    string
  • SessionService:GetBreadcrumbs(): { any }
    • Roblox script security
    Returns
    Type
    { any }
  • SessionService:GetCreatedTimestampUtcMs(sid: string): number
    • Roblox script security
    Parameters
    Parameter
    sid: string
    Returns
    Type
    number
  • SessionService:GetHistory(): { any }
    • Roblox script security
    Returns
    Type
    { any }
  • SessionService:GetMetadata(sid: string, key: string): any
    • Roblox script security
    Parameters
    Parameter
    sid: string
    key: string
    Returns
    Type
    any
  • SessionService:GetRootSID(): string
    • Roblox script security
    Returns
    Type
    string
  • SessionService:GetSessionID(structuralId: string): string
    • Roblox script security
    Parameters
    Parameter
    structuralId: string
    Returns
    Type
    string
  • SessionService:GetSessionTag(sid: string): string
    • Roblox script security
    Parameters
    Parameter
    sid: string
    Returns
    Type
    string
  • SessionService:IsContextFocused(context: string): boolean
    • Roblox script security
    Parameters
    Parameter
    context: string
    Returns
    Type
    boolean
  • SessionService:ReleaseContextFocus(context: string)
    • Roblox script security
    Parameters
    Parameter
    context: string
  • SessionService:RemoveMetadata(sid: string, key: string, context: string? = "")
    • Roblox script security
    Parameters
    Parameter
    sid: string
    key: string
    context: string? = ""
  • SessionService:RemoveSession(sid: string, context: string? = "")
    • Roblox script security
    Parameters
    Parameter
    sid: string
    context: string? = ""
  • SessionService:RemoveSessionsWithMetadataKey(key: string)
    • Roblox script security
    Parameters
    Parameter
    key: string
  • SessionService:ReplaceSession(sid: string, tag: string)
    • Roblox script security
    Parameters
    Parameter
    sid: string
    tag: string
  • SessionService:SessionExists(sid: string): boolean
    • Roblox script security
    Parameters
    Parameter
    sid: string
    Returns
    Type
    boolean
  • SessionService:SetMetadata(sid: string,key: string,value: any,context: string? = "",)
    • Roblox script security
    Parameters
    Parameter
    sid: string
    key: string
    value: any
    context: string? = ""
  • SessionService:SetSession(parentSid: string,childSid: string,tag: string,context: string? = "",)
    • Roblox script security
    Parameters
    Parameter
    parentSid: string
    childSid: string
    tag: string
    context: string? = ""

Events11

Inherited fromObject1
Inherited fromInstance9
Defined bySessionService1