Customizing a Local Recording Path
setLocalRecordPath
API Description
This API is used to customize the path for storing local recording files.
Precautions
If a user specifies a recording folder in this API, another recording folder cannot be created after the sandbox is enabled and will be written to the default path.
Method Definition
1
|
- (void)setLocalRecordPath:(NSURL *)url; |
1 2 3 4 5 6 7 8 9 |
NSOpenPanel *select = [NSOpenPanel openPanel]; select.canChooseFiles = NO; select.canChooseDirectories = YES; select.prompt = @"OK"; [select beginSheetModalForWindow:self.view.window completionHandler:^(NSModalResponse result) { if (result == 1) { [[HWMSdk getOpenSDK] setLocalRecordPath:select.URL]; } }]; |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot