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.
6
2
// See also: https://pub.dev/packages/pigeon
7
3
#import < Foundation/Foundation.h>
8
4
@protocol FlutterBinaryMessenger;
5
+ @protocol FlutterMessageCodec;
9
6
@class FlutterError;
10
7
@class FlutterStandardTypedData;
11
8
12
9
NS_ASSUME_NONNULL_BEGIN
13
10
14
11
@class FLTTextureMessage;
15
- @class FLTCreateMessage;
16
12
@class FLTLoopingMessage;
17
13
@class FLTVolumeMessage;
18
14
@class FLTPlaybackSpeedMessage;
19
15
@class FLTPositionMessage;
16
+ @class FLTCreateMessage;
20
17
@class FLTMixWithOthersMessage;
21
18
22
19
@interface FLTTextureMessage : NSObject
23
20
@property (nonatomic , strong , nullable ) NSNumber *textureId;
24
21
@end
25
22
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
-
34
23
@interface FLTLoopingMessage : NSObject
35
24
@property (nonatomic , strong , nullable ) NSNumber *textureId;
36
25
@property (nonatomic , strong , nullable ) NSNumber *isLooping;
@@ -51,29 +40,40 @@ NS_ASSUME_NONNULL_BEGIN
51
40
@property (nonatomic , strong , nullable ) NSNumber *position;
52
41
@end
53
42
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
+
54
51
@interface FLTMixWithOthersMessage : NSObject
55
52
@property (nonatomic , strong , nullable ) NSNumber *mixWithOthers;
56
53
@end
57
54
55
+ // / The codec used by FLTVideoPlayerApi.
56
+ NSObject <FlutterMessageCodec> *FLTVideoPlayerApiGetCodec (void );
57
+
58
58
@protocol FLTVideoPlayerApi
59
59
- (void )initialize : (FlutterError *_Nullable *_Nonnull)error ;
60
- - (nullable FLTTextureMessage *)create : (FLTCreateMessage *)input
60
+ - (nullable FLTTextureMessage *)create : (FLTCreateMessage *)msg
61
61
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
66
66
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
69
69
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
73
73
error : (FlutterError *_Nullable *_Nonnull)error ;
74
74
@end
75
75
76
76
extern void FLTVideoPlayerApiSetup (id <FlutterBinaryMessenger> binaryMessenger,
77
- id <FLTVideoPlayerApi> _Nullable api);
77
+ NSObject <FLTVideoPlayerApi> * _Nullable api);
78
78
79
79
NS_ASSUME_NONNULL_END
0 commit comments