1- // Copyright 2013 The Flutter Authors. All rights reserved.
2- // Use of this source code is governed by a BSD-style license that can be
3- // found in the LICENSE file.
4-
5- // Autogenerated from Pigeon (v0.1.21), do not edit directly.
1+ // // Copyright 2013 The Flutter Authors. All rights reserved.
2+ // // Use of this source code is governed by a BSD-style license that can be
3+ // // found in the LICENSE file.
4+ // Autogenerated from Pigeon (v0.3.0), do not edit directly.
65// See also: https://pub.dev/packages/pigeon
76#import < Foundation/Foundation.h>
87@protocol FlutterBinaryMessenger;
8+ @protocol FlutterMessageCodec;
99@class FlutterError;
1010@class FlutterStandardTypedData;
1111
1212NS_ASSUME_NONNULL_BEGIN
1313
1414@class FLTTextureMessage;
15- @class FLTCreateMessage;
1615@class FLTLoopingMessage;
1716@class FLTVolumeMessage;
1817@class FLTPlaybackSpeedMessage;
1918@class FLTPositionMessage;
19+ @class FLTCreateMessage;
2020@class FLTMixWithOthersMessage;
2121
2222@interface FLTTextureMessage : NSObject
2323@property (nonatomic , strong , nullable ) NSNumber *textureId;
2424@end
2525
26- @interface FLTCreateMessage : NSObject
27- @property (nonatomic , copy , nullable ) NSString *asset;
28- @property (nonatomic , copy , nullable ) NSString *uri;
29- @property (nonatomic , copy , nullable ) NSString *packageName;
30- @property (nonatomic , copy , nullable ) NSString *formatHint;
31- @property (nonatomic , strong , nullable ) NSDictionary *httpHeaders;
32- @end
33-
3426@interface FLTLoopingMessage : NSObject
3527@property (nonatomic , strong , nullable ) NSNumber *textureId;
3628@property (nonatomic , strong , nullable ) NSNumber *isLooping;
@@ -51,29 +43,40 @@ NS_ASSUME_NONNULL_BEGIN
5143@property (nonatomic , strong , nullable ) NSNumber *position;
5244@end
5345
46+ @interface FLTCreateMessage : NSObject
47+ @property (nonatomic , copy , nullable ) NSString *asset;
48+ @property (nonatomic , copy , nullable ) NSString *uri;
49+ @property (nonatomic , copy , nullable ) NSString *packageName;
50+ @property (nonatomic , copy , nullable ) NSString *formatHint;
51+ @property (nonatomic , strong , nullable ) NSDictionary <NSString *, NSString *> *httpHeaders;
52+ @end
53+
5454@interface FLTMixWithOthersMessage : NSObject
5555@property (nonatomic , strong , nullable ) NSNumber *mixWithOthers;
5656@end
5757
58+ // / The codec used by FLTVideoPlayerApi.
59+ NSObject <FlutterMessageCodec> *FLTVideoPlayerApiGetCodec (void );
60+
5861@protocol FLTVideoPlayerApi
5962- (void )initialize : (FlutterError *_Nullable *_Nonnull)error ;
60- - (nullable FLTTextureMessage *)create : (FLTCreateMessage *)input
63+ - (nullable FLTTextureMessage *)create : (FLTCreateMessage *)msg
6164 error : (FlutterError *_Nullable *_Nonnull)error ;
62- - (void )dispose : (FLTTextureMessage *)input error : (FlutterError *_Nullable *_Nonnull)error ;
63- - (void )setLooping : (FLTLoopingMessage *)input error : (FlutterError *_Nullable *_Nonnull)error ;
64- - (void )setVolume : (FLTVolumeMessage *)input error : (FlutterError *_Nullable *_Nonnull)error ;
65- - (void )setPlaybackSpeed : (FLTPlaybackSpeedMessage *)input
65+ - (void )dispose : (FLTTextureMessage *)msg error : (FlutterError *_Nullable *_Nonnull)error ;
66+ - (void )setLooping : (FLTLoopingMessage *)msg error : (FlutterError *_Nullable *_Nonnull)error ;
67+ - (void )setVolume : (FLTVolumeMessage *)msg error : (FlutterError *_Nullable *_Nonnull)error ;
68+ - (void )setPlaybackSpeed : (FLTPlaybackSpeedMessage *)msg
6669 error : (FlutterError *_Nullable *_Nonnull)error ;
67- - (void )play : (FLTTextureMessage *)input error : (FlutterError *_Nullable *_Nonnull)error ;
68- - (nullable FLTPositionMessage *)position : (FLTTextureMessage *)input
70+ - (void )play : (FLTTextureMessage *)msg error : (FlutterError *_Nullable *_Nonnull)error ;
71+ - (nullable FLTPositionMessage *)position : (FLTTextureMessage *)msg
6972 error : (FlutterError *_Nullable *_Nonnull)error ;
70- - (void )seekTo : (FLTPositionMessage *)input error : (FlutterError *_Nullable *_Nonnull)error ;
71- - (void )pause : (FLTTextureMessage *)input error : (FlutterError *_Nullable *_Nonnull)error ;
72- - (void )setMixWithOthers : (FLTMixWithOthersMessage *)input
73+ - (void )seekTo : (FLTPositionMessage *)msg error : (FlutterError *_Nullable *_Nonnull)error ;
74+ - (void )pause : (FLTTextureMessage *)msg error : (FlutterError *_Nullable *_Nonnull)error ;
75+ - (void )setMixWithOthers : (FLTMixWithOthersMessage *)msg
7376 error : (FlutterError *_Nullable *_Nonnull)error ;
7477@end
7578
7679extern void FLTVideoPlayerApiSetup (id <FlutterBinaryMessenger> binaryMessenger,
77- id <FLTVideoPlayerApi> _Nullable api);
80+ NSObject <FLTVideoPlayerApi> * _Nullable api);
7881
7982NS_ASSUME_NONNULL_END
0 commit comments