11// Copyright 2013 The Flutter Authors. All rights reserved.
22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file.
4-
5- // Autogenerated from Pigeon (v0.1.21 ), do not edit directly.
4+ //
5+ // Autogenerated from Pigeon (v1.0.0 ), do not edit directly.
66// See also: https://pub.dev/packages/pigeon
77#import < Foundation/Foundation.h>
88@protocol FlutterBinaryMessenger;
9+ @protocol FlutterMessageCodec;
910@class FlutterError;
1011@class FlutterStandardTypedData;
1112
1213NS_ASSUME_NONNULL_BEGIN
1314
1415@class FLTTextureMessage;
15- @class FLTCreateMessage;
1616@class FLTLoopingMessage;
1717@class FLTVolumeMessage;
1818@class FLTPlaybackSpeedMessage;
1919@class FLTPositionMessage;
20+ @class FLTCreateMessage;
2021@class FLTMixWithOthersMessage;
2122
2223@interface FLTTextureMessage : NSObject
2324@property (nonatomic , strong , nullable ) NSNumber *textureId;
2425@end
2526
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-
3427@interface FLTLoopingMessage : NSObject
3528@property (nonatomic , strong , nullable ) NSNumber *textureId;
3629@property (nonatomic , strong , nullable ) NSNumber *isLooping;
@@ -51,29 +44,40 @@ NS_ASSUME_NONNULL_BEGIN
5144@property (nonatomic , strong , nullable ) NSNumber *position;
5245@end
5346
47+ @interface FLTCreateMessage : NSObject
48+ @property (nonatomic , copy , nullable ) NSString *asset;
49+ @property (nonatomic , copy , nullable ) NSString *uri;
50+ @property (nonatomic , copy , nullable ) NSString *packageName;
51+ @property (nonatomic , copy , nullable ) NSString *formatHint;
52+ @property (nonatomic , strong , nullable ) NSDictionary <NSString *, NSString *> *httpHeaders;
53+ @end
54+
5455@interface FLTMixWithOthersMessage : NSObject
5556@property (nonatomic , strong , nullable ) NSNumber *mixWithOthers;
5657@end
5758
59+ // / The codec used by FLTVideoPlayerApi.
60+ NSObject <FlutterMessageCodec> *FLTVideoPlayerApiGetCodec (void );
61+
5862@protocol FLTVideoPlayerApi
5963- (void )initialize : (FlutterError *_Nullable *_Nonnull)error ;
60- - (nullable FLTTextureMessage *)create : (FLTCreateMessage *)input
64+ - (nullable FLTTextureMessage *)create : (FLTCreateMessage *)msg
6165 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
66+ - (void )dispose : (FLTTextureMessage *)msg error : (FlutterError *_Nullable *_Nonnull)error ;
67+ - (void )setLooping : (FLTLoopingMessage *)msg error : (FlutterError *_Nullable *_Nonnull)error ;
68+ - (void )setVolume : (FLTVolumeMessage *)msg error : (FlutterError *_Nullable *_Nonnull)error ;
69+ - (void )setPlaybackSpeed : (FLTPlaybackSpeedMessage *)msg
6670 error : (FlutterError *_Nullable *_Nonnull)error ;
67- - (void )play : (FLTTextureMessage *)input error : (FlutterError *_Nullable *_Nonnull)error ;
68- - (nullable FLTPositionMessage *)position : (FLTTextureMessage *)input
71+ - (void )play : (FLTTextureMessage *)msg error : (FlutterError *_Nullable *_Nonnull)error ;
72+ - (nullable FLTPositionMessage *)position : (FLTTextureMessage *)msg
6973 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
74+ - (void )seekTo : (FLTPositionMessage *)msg error : (FlutterError *_Nullable *_Nonnull)error ;
75+ - (void )pause : (FLTTextureMessage *)msg error : (FlutterError *_Nullable *_Nonnull)error ;
76+ - (void )setMixWithOthers : (FLTMixWithOthersMessage *)msg
7377 error : (FlutterError *_Nullable *_Nonnull)error ;
7478@end
7579
7680extern void FLTVideoPlayerApiSetup (id <FlutterBinaryMessenger> binaryMessenger,
77- id <FLTVideoPlayerApi> _Nullable api);
81+ NSObject <FLTVideoPlayerApi> * _Nullable api);
7882
7983NS_ASSUME_NONNULL_END
0 commit comments