Roblox API Reference

CaptureService 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
null DeleteCapture (string capturePath) 593
Vector2 GetCaptureSizeAsync (Content captureContentId) 587
null OnCaptureBegan () 605
null OnCaptureEnded () 605
null OnSavePromptFinished (int64 promptId, Dictionary results) 605
null OnSharePromptFinished (int64 promptId, bool accepted) 604 603 604
null PromptSaveCapturesToGallery (Array contentIds, Function resultCallback) 605
null PromptShareCapture (Content contentId, string launchData, Function onAcceptedCallback, Function onDeniedCallback) 604 603 604 605
Array RetrieveCaptures () 583
null SaveCaptureToExternalStorage (string capturePath) 601
null SaveScreenshotCapture ()
CaptureBegan () 605
CaptureEnded () 605
CaptureSaved (Dictionary captureInfo) 587 605
OpenSaveCapturesPrompt (int64 promptId, Array contentIds) 605
OpenShareCapturePrompt (int64 promptId, Content contentId, string capturePath, string launchData) 604 603 604 605
UserCaptureSaved (Content captureContentId) 604 603 604
57 members inherited from Instance

Removed member index (1)

Type Member History
Array RetreiveCaptures () 583

History

Members

CaptureBegan On DevHub

Name Type Default
No parameters.

History

CaptureEnded On DevHub

Name Type Default
No parameters.

History

CaptureSaved On DevHub

Name Type Default
captureInfo Dictionary none

History

DeleteCapture On DevHub

Name Type Default
capturePath string none

History

GetCaptureSizeAsync On DevHub

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

History

Tags: [Yields]

OnCaptureBegan On DevHub

Name Type Default
No parameters.

History

OnCaptureEnded On DevHub

Name Type Default
No parameters.

History

OnSavePromptFinished On DevHub

Name Type Default
promptId int64 none
results Dictionary none

History

OnSharePromptFinished On DevHub

Name Type Default
promptId int64 none
accepted bool none

History

OpenSaveCapturesPrompt On DevHub

Name Type Default
promptId int64 none
contentIds Array none

History

OpenShareCapturePrompt On DevHub

Name Type Default
promptId int64 none
contentId Content none
capturePath string none
launchData string none

History

PromptSaveCapturesToGallery On DevHub

Name Type Default
contentIds Array none
resultCallback Function none

History

PromptShareCapture On DevHub

Name Type Default
contentId Content none
launchData string none
onAcceptedCallback Function none
onDeniedCallback Function none

History

RetrieveCaptures On DevHub

Name Type Default
No parameters.

History

SaveCaptureToExternalStorage On DevHub

Name Type Default
capturePath string none

History

SaveScreenshotCapture On DevHub

Name Type Default
No parameters.

UserCaptureSaved On DevHub

Name Type Default
captureContentId Content none

History

Removed members

RetreiveCaptures

Name Type Default
No parameters.

History