{"_id":"59bd705bd54953002460cbbd","project":"578c4badbd223d2000cc1441","version":{"_id":"59bc03d31d2d8d001a34457d","project":"578c4badbd223d2000cc1441","__v":2,"createdAt":"2017-09-15T16:46:11.721Z","releaseDate":"2017-09-15T16:46:11.721Z","categories":["59bc03d31d2d8d001a34457e","59bc03d31d2d8d001a34457f","59bc03d31d2d8d001a344580","59bc03d31d2d8d001a344581","59bc03d31d2d8d001a344582","59bc03d31d2d8d001a344583","59bc284b7c3f420010f965e6"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2.0.0"},"category":{"_id":"59bc03d31d2d8d001a344583","version":"59bc03d31d2d8d001a34457d","project":"578c4badbd223d2000cc1441","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-08-01T23:04:12.838Z","from_sync":false,"order":6,"slug":"api-reference","title":"API Reference"},"user":"576c22a3808cf02b00d37419","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-09-16T18:41:31.569Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":13,"body":"A collection of constants used in the Viro Platform.\n\n######Example Usage:\n```\nimport {ViroConstants} from 'react-viro';\n\nif (returnValue == ViroConstants.RECORD_ERROR_NONE) {\n    console.log(\"Success!\");\n}\n```\n\n##Constants:\n \n###Video Recording/Screenshot Errors\n[block:parameters]\n{\n  \"data\": {\n    \"0-0\": \"RECORD_ERROR_NONE\",\n    \"0-1\": \"**-1**\",\n    \"1-0\": \"RECORD_ERROR_UNKNOWN\",\n    \"2-0\": \"RECORD_ERROR_NO_PERMISSION\",\n    \"3-0\": \"RECORD_ERROR_INITIALIZATION\",\n    \"4-0\": \"RECORD_ERROR_WRITE_TO_FILE\",\n    \"5-0\": \"RECORD_ERROR_ALREADY_RUNNING\",\n    \"6-0\": \"RECORD_ERROR_ALREADY_STOPPED\",\n    \"1-1\": \"**0**\",\n    \"2-1\": \"**1**\",\n    \"3-1\": \"**2** \\n\\nIndicates there was an error during initialization.\",\n    \"4-1\": \"**3** \\n\\nIndicates that there was an error writing to file.\",\n    \"5-1\": \"**4** \\n\\nIndicates that the system is already recording.\",\n    \"6-1\": \"**5** \\n\\nIndicates that the system is not currently recording.\",\n    \"h-1\": \"Value\",\n    \"0-2\": \"Indicates that there is no error.\",\n    \"h-2\": \"Notes\",\n    \"h-0\": \"Name\",\n    \"1-2\": \"Indicates that the platform encountered an unknown error.\",\n    \"2-2\": \"The user has denied permission required for recording/saving videos/screenshots.\"\n  },\n  \"cols\": 3,\n  \"rows\": 7\n}\n[/block]","excerpt":"","slug":"viroconstants","type":"basic","title":"ViroConstants"}
A collection of constants used in the Viro Platform. ######Example Usage: ``` import {ViroConstants} from 'react-viro'; if (returnValue == ViroConstants.RECORD_ERROR_NONE) { console.log("Success!"); } ``` ##Constants: ###Video Recording/Screenshot Errors [block:parameters] { "data": { "0-0": "RECORD_ERROR_NONE", "0-1": "**-1**", "1-0": "RECORD_ERROR_UNKNOWN", "2-0": "RECORD_ERROR_NO_PERMISSION", "3-0": "RECORD_ERROR_INITIALIZATION", "4-0": "RECORD_ERROR_WRITE_TO_FILE", "5-0": "RECORD_ERROR_ALREADY_RUNNING", "6-0": "RECORD_ERROR_ALREADY_STOPPED", "1-1": "**0**", "2-1": "**1**", "3-1": "**2** \n\nIndicates there was an error during initialization.", "4-1": "**3** \n\nIndicates that there was an error writing to file.", "5-1": "**4** \n\nIndicates that the system is already recording.", "6-1": "**5** \n\nIndicates that the system is not currently recording.", "h-1": "Value", "0-2": "Indicates that there is no error.", "h-2": "Notes", "h-0": "Name", "1-2": "Indicates that the platform encountered an unknown error.", "2-2": "The user has denied permission required for recording/saving videos/screenshots." }, "cols": 3, "rows": 7 } [/block]