Flutter Engine
The Flutter Engine
Class Methods | List of all members
ContinuousTexture Class Reference

#import <ContinuousTexture.h>

Inheritance diagram for ContinuousTexture:
<FlutterPlugin> <FlutterApplicationLifeCycleDelegate> <FlutterAppLifecycleDelegate>

Class Methods

(void) + registerWithRegistrar: [implementation]
 
- Class Methods inherited from <FlutterPlugin>
(void) + registerWithRegistrar:
 
(void) + setPluginRegistrantCallback:
 
(void) + registerWithRegistrar:
 

Additional Inherited Members

- Instance Methods inherited from <FlutterPlugin>
(void) - handleMethodCall:result:
 
(void) - detachFromEngineForRegistrar:
 
(void) - handleMethodCall:result:
 
- Instance Methods inherited from <FlutterApplicationLifeCycleDelegate>
(BOOL- application:didFinishLaunchingWithOptions:
 
(BOOL- application:willFinishLaunchingWithOptions:
 
(void) - applicationDidBecomeActive:
 
(void) - applicationWillResignActive:
 
(void) - applicationDidEnterBackground:
 
(void) - applicationWillEnterForeground:
 
(void) - applicationWillTerminate:
 
(void) - application:didRegisterUserNotificationSettings:
 
(void) - application:didRegisterForRemoteNotificationsWithDeviceToken:
 
(void) - application:didFailToRegisterForRemoteNotificationsWithError:
 
(BOOL- application:didReceiveRemoteNotification:fetchCompletionHandler:
 
(void) - application:didReceiveLocalNotification:
 
(BOOL- application:openURL:options:
 
(BOOL- application:handleOpenURL:
 
(BOOL- application:openURL:sourceApplication:annotation:
 
(BOOL- application:performActionForShortcutItem:completionHandler:
 
(BOOL- application:handleEventsForBackgroundURLSession:completionHandler:
 
(BOOL- application:performFetchWithCompletionHandler:
 
(BOOL- application:continueUserActivity:restorationHandler:
 
- Instance Methods inherited from <FlutterAppLifecycleDelegate>
(void) - handleWillFinishLaunching:
 
(void) - handleDidFinishLaunching:
 
(void) - handleWillBecomeActive:
 
(void) - handleDidBecomeActive:
 
(void) - handleWillResignActive:
 
(void) - handleDidResignActive:
 
(void) - handleWillHide:
 
(void) - handleDidHide:
 
(void) - handleWillUnhide:
 
(void) - handleDidUnhide:
 
(void) - handleDidChangeScreenParameters:
 
(void) - handleDidChangeOcclusionState:
 
(BOOL- handleOpenURLs:
 
(void) - handleWillTerminate:
 

Detailed Description

Definition at line 14 of file ContinuousTexture.h.

Method Documentation

◆ registerWithRegistrar:

+ (void) registerWithRegistrar: (nonnull NSObject<FlutterPluginRegistrar>*)  registrar
implementation

Definition at line 1 of file ContinuousTexture.m.

9 :(nonnull NSObject<FlutterPluginRegistrar>*)registrar {
10 NSObject<FlutterTextureRegistry>* textureRegistry = [registrar textures];
12 int64_t textureId = [textureRegistry registerTexture:texture];
13 [NSTimer scheduledTimerWithTimeInterval:0.05
14 repeats:YES
15 block:^(NSTimer* _Nonnull timer) {
16 [textureRegistry textureFrameAvailable:textureId];
17 }];
18}
FlTexture * texture

The documentation for this class was generated from the following files: