This site has been permanently archived. The content on this site was last updated in 2019.
<GVRVideoViewDelegate> Protocol
Stay organized with collections
Save and categorize content based on your preferences.
Defines a protocol to notify delegates of change in video playback.
Inherits <GVRWidgetViewGVRWidgetViewDelegate>.
- (void) videoView: |
|
(GVRVideoView *) |
videoView |
didUpdatePosition: |
|
(NSTimeInterval) |
position |
|
|
| |
Called when position of the video playback head changes.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["\u003cp\u003eDefines a protocol to notify delegates of changes in video playback, inheriting from \u003ccode\u003eGVRWidgetViewDelegate\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIncludes a method, \u003ccode\u003evideoView:didUpdatePosition:\u003c/code\u003e, which is called when the video playback head's position changes.\u003c/p\u003e\n"],["\u003cp\u003eProvides delegates with updates on the current playback time through the \u003ccode\u003eposition\u003c/code\u003e parameter of the \u003ccode\u003evideoView:didUpdatePosition:\u003c/code\u003e method.\u003c/p\u003e\n"]]],["The `GVRVideoViewDelegate` protocol notifies delegates about video playback changes. It inherits from `GVRWidgetViewGVRWidgetViewDelegate`. The core action is the `-videoView:didUpdatePosition:` method, which is triggered when the video's playback head position changes. This method provides the `GVRVideoView` instance and the new `NSTimeInterval` position. The protocol essentially signals updates on the current playback time of the video.\n"],null,[]]