Roblox API Reference

StudioDeviceEmulatorService On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [NotCreatable, Service, NotReplicated]

Inherits (1)

Member index (17)

Type Member History
bool HasMultiTouchStarted 538
bool IsMultiTouchEmulationOn 539
bool IsMultiTouchEnabled 538
Vector2 PivotPosition 538
bool EmulatePCDeviceWithResolution (string deviceId, Vector2 resolution)
string GetCurrentDeviceId ()
ScreenOrientation GetCurrentOrientation ()
int GetMaxNumTouches () 538
bool GetTouchInBounds (int index) 540
Vector2 GetTouchPosition (int index) 538
bool HasDeviceWithId (string deviceId)
null SetCurrentDeviceId (string deviceId) 573
null SetCurrentOrientation (ScreenOrientation orientation) 573
CurrentDeviceIdChanged ()
OrientationChanged ()
TouchInBoundsChanged () 540
TouchPositionsChanged () 538
57 members inherited from Instance

History

Members

CurrentDeviceIdChanged On DevHub

Name Type Default
No parameters.

EmulatePCDeviceWithResolution On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
deviceId string none
resolution Vector2 none

Tags: [Yields]

GetCurrentDeviceId On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
No parameters.

Tags: [Yields]

GetCurrentOrientation On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
No parameters.

Tags: [Yields]

GetMaxNumTouches On DevHub

Name Type Default
No parameters.

History

GetTouchInBounds On DevHub

Name Type Default
index int none

History

GetTouchPosition On DevHub

Name Type Default
index int none

History

HasDeviceWithId On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
deviceId string none

Tags: [Yields]

HasMultiTouchStarted On DevHub

This property is read-only. Its value can be read, but it cannot be modified.
This member is hidden. It is not meant to be used, and may have unresolved issues.
This item is not replicated. Its interface does not cross the network boundary.

History

Tags: [Hidden, ReadOnly, NotReplicated]

IsMultiTouchEmulationOn On DevHub

This member is hidden. It is not meant to be used, and may have unresolved issues.
This item is not replicated. Its interface does not cross the network boundary.

History

Tags: [Hidden, NotReplicated]

IsMultiTouchEnabled On DevHub

This property is read-only. Its value can be read, but it cannot be modified.
This member is hidden. It is not meant to be used, and may have unresolved issues.
This item is not replicated. Its interface does not cross the network boundary.

History

Tags: [Hidden, ReadOnly, NotReplicated]

OrientationChanged On DevHub

Name Type Default
No parameters.

PivotPosition On DevHub

This property is read-only. Its value can be read, but it cannot be modified.
This member is hidden. It is not meant to be used, and may have unresolved issues.
This item is not replicated. Its interface does not cross the network boundary.

History

Tags: [Hidden, ReadOnly, NotReplicated]

SetCurrentDeviceId On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
deviceId string none

History

Tags: [Yields]

SetCurrentOrientation On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
orientation ScreenOrientation none

History

Tags: [Yields]

TouchInBoundsChanged On DevHub

Name Type Default
No parameters.

History

TouchPositionsChanged On DevHub

Name Type Default
No parameters.

History

Relevant enums (1)