docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method StopRecording

    StopRecording()

    Stops recording and flushes unwritten data to disk. The MP4 dataset file is ready to read after this call.

    Declaration
    public ArStatus StopRecording()
    Returns
    Type Description
    ArStatus

    Returns Success if successful. Returns ErrorRecordingFailed otherwise.

    Remarks

    Recording can be stopped automatically when the session is paused, if auto stop is enabled via SetAutoStopOnPause(ArSession, bool). Recording errors that would be thrown in StopRecording() are silently ignored on session pause.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)