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+ // Autogenerated from Pigeon (v0.3.0), do not edit directly.
62// See also: https://pub.dev/packages/pigeon
73#import < Foundation/Foundation.h>
84@protocol FlutterBinaryMessenger;
5+ @protocol FlutterMessageCodec;
96@class FlutterError;
107@class FlutterStandardTypedData;
118
129NS_ASSUME_NONNULL_BEGIN
1310
1411@class FLTTextureMessage;
15- @class FLTCreateMessage;
1612@class FLTLoopingMessage;
1713@class FLTVolumeMessage;
1814@class FLTPlaybackSpeedMessage;
1915@class FLTPositionMessage;
16+ @class FLTCreateMessage;
2017@class FLTMixWithOthersMessage;
2118
2219@interface FLTTextureMessage : NSObject
2320@property (nonatomic , strong , nullable ) NSNumber *textureId;
2421@end
2522
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-
3423@interface FLTLoopingMessage : NSObject
3524@property (nonatomic , strong , nullable ) NSNumber *textureId;
3625@property (nonatomic , strong , nullable ) NSNumber *isLooping;
@@ -51,29 +40,40 @@ NS_ASSUME_NONNULL_BEGIN
5140@property (nonatomic , strong , nullable ) NSNumber *position;
5241@end
5342
43+ @interface FLTCreateMessage : NSObject
44+ @property (nonatomic , copy , nullable ) NSString *asset;
45+ @property (nonatomic , copy , nullable ) NSString *uri;
46+ @property (nonatomic , copy , nullable ) NSString *packageName;
47+ @property (nonatomic , copy , nullable ) NSString *formatHint;
48+ @property (nonatomic , strong , nullable ) NSDictionary <NSString *, NSString *> *httpHeaders;
49+ @end
50+
5451@interface FLTMixWithOthersMessage : NSObject
5552@property (nonatomic , strong , nullable ) NSNumber *mixWithOthers;
5653@end
5754
55+ // / The codec used by FLTVideoPlayerApi.
56+ NSObject <FlutterMessageCodec> *FLTVideoPlayerApiGetCodec (void );
57+
5858@protocol FLTVideoPlayerApi
5959- (void )initialize : (FlutterError *_Nullable *_Nonnull)error ;
60- - (nullable FLTTextureMessage *)create : (FLTCreateMessage *)input
60+ - (nullable FLTTextureMessage *)create : (FLTCreateMessage *)msg
6161 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
62+ - (void )dispose : (FLTTextureMessage *)msg error : (FlutterError *_Nullable *_Nonnull)error ;
63+ - (void )setLooping : (FLTLoopingMessage *)msg error : (FlutterError *_Nullable *_Nonnull)error ;
64+ - (void )setVolume : (FLTVolumeMessage *)msg error : (FlutterError *_Nullable *_Nonnull)error ;
65+ - (void )setPlaybackSpeed : (FLTPlaybackSpeedMessage *)msg
6666 error : (FlutterError *_Nullable *_Nonnull)error ;
67- - (void )play : (FLTTextureMessage *)input error : (FlutterError *_Nullable *_Nonnull)error ;
68- - (nullable FLTPositionMessage *)position : (FLTTextureMessage *)input
67+ - (void )play : (FLTTextureMessage *)msg error : (FlutterError *_Nullable *_Nonnull)error ;
68+ - (nullable FLTPositionMessage *)position : (FLTTextureMessage *)msg
6969 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
70+ - (void )seekTo : (FLTPositionMessage *)msg error : (FlutterError *_Nullable *_Nonnull)error ;
71+ - (void )pause : (FLTTextureMessage *)msg error : (FlutterError *_Nullable *_Nonnull)error ;
72+ - (void )setMixWithOthers : (FLTMixWithOthersMessage *)msg
7373 error : (FlutterError *_Nullable *_Nonnull)error ;
7474@end
7575
7676extern void FLTVideoPlayerApiSetup (id <FlutterBinaryMessenger> binaryMessenger,
77- id <FLTVideoPlayerApi> _Nullable api);
77+ NSObject <FLTVideoPlayerApi> * _Nullable api);
7878
7979NS_ASSUME_NONNULL_END
0 commit comments