|
1 | 1 | // Copyright 2013 The Flutter Authors. All rights reserved.
|
2 | 2 | // Use of this source code is governed by a BSD-style license that can be
|
3 | 3 | // found in the LICENSE file.
|
4 |
| - |
5 |
| -// Autogenerated from Pigeon (v0.1.21), do not edit directly. |
| 4 | +// Autogenerated from Pigeon (v1.0.16), do not edit directly. |
6 | 5 | // See also: https://pub.dev/packages/pigeon
|
7 | 6 | #import <Foundation/Foundation.h>
|
8 | 7 | @protocol FlutterBinaryMessenger;
|
| 8 | +@protocol FlutterMessageCodec; |
9 | 9 | @class FlutterError;
|
10 | 10 | @class FlutterStandardTypedData;
|
11 | 11 |
|
12 | 12 | NS_ASSUME_NONNULL_BEGIN
|
13 | 13 |
|
14 | 14 | @class FLTTextureMessage;
|
15 |
| -@class FLTCreateMessage; |
16 | 15 | @class FLTLoopingMessage;
|
17 | 16 | @class FLTVolumeMessage;
|
18 | 17 | @class FLTPlaybackSpeedMessage;
|
19 | 18 | @class FLTPositionMessage;
|
| 19 | +@class FLTCreateMessage; |
20 | 20 | @class FLTMixWithOthersMessage;
|
21 | 21 |
|
22 | 22 | @interface FLTTextureMessage : NSObject
|
| 23 | ++ (instancetype)makeWithTextureId:(nullable NSNumber *)textureId; |
23 | 24 | @property(nonatomic, strong, nullable) NSNumber *textureId;
|
24 | 25 | @end
|
25 | 26 |
|
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 | 27 | @interface FLTLoopingMessage : NSObject
|
| 28 | ++ (instancetype)makeWithTextureId:(nullable NSNumber *)textureId |
| 29 | + isLooping:(nullable NSNumber *)isLooping; |
35 | 30 | @property(nonatomic, strong, nullable) NSNumber *textureId;
|
36 | 31 | @property(nonatomic, strong, nullable) NSNumber *isLooping;
|
37 | 32 | @end
|
38 | 33 |
|
39 | 34 | @interface FLTVolumeMessage : NSObject
|
| 35 | ++ (instancetype)makeWithTextureId:(nullable NSNumber *)textureId volume:(nullable NSNumber *)volume; |
40 | 36 | @property(nonatomic, strong, nullable) NSNumber *textureId;
|
41 | 37 | @property(nonatomic, strong, nullable) NSNumber *volume;
|
42 | 38 | @end
|
43 | 39 |
|
44 | 40 | @interface FLTPlaybackSpeedMessage : NSObject
|
| 41 | ++ (instancetype)makeWithTextureId:(nullable NSNumber *)textureId speed:(nullable NSNumber *)speed; |
45 | 42 | @property(nonatomic, strong, nullable) NSNumber *textureId;
|
46 | 43 | @property(nonatomic, strong, nullable) NSNumber *speed;
|
47 | 44 | @end
|
48 | 45 |
|
49 | 46 | @interface FLTPositionMessage : NSObject
|
| 47 | ++ (instancetype)makeWithTextureId:(nullable NSNumber *)textureId |
| 48 | + position:(nullable NSNumber *)position; |
50 | 49 | @property(nonatomic, strong, nullable) NSNumber *textureId;
|
51 | 50 | @property(nonatomic, strong, nullable) NSNumber *position;
|
52 | 51 | @end
|
53 | 52 |
|
| 53 | +@interface FLTCreateMessage : NSObject |
| 54 | ++ (instancetype)makeWithAsset:(nullable NSString *)asset |
| 55 | + uri:(nullable NSString *)uri |
| 56 | + packageName:(nullable NSString *)packageName |
| 57 | + formatHint:(nullable NSString *)formatHint |
| 58 | + httpHeaders:(nullable NSDictionary<NSString *, NSString *> *)httpHeaders; |
| 59 | +@property(nonatomic, copy, nullable) NSString *asset; |
| 60 | +@property(nonatomic, copy, nullable) NSString *uri; |
| 61 | +@property(nonatomic, copy, nullable) NSString *packageName; |
| 62 | +@property(nonatomic, copy, nullable) NSString *formatHint; |
| 63 | +@property(nonatomic, strong, nullable) NSDictionary<NSString *, NSString *> *httpHeaders; |
| 64 | +@end |
| 65 | + |
54 | 66 | @interface FLTMixWithOthersMessage : NSObject
|
| 67 | ++ (instancetype)makeWithMixWithOthers:(nullable NSNumber *)mixWithOthers; |
55 | 68 | @property(nonatomic, strong, nullable) NSNumber *mixWithOthers;
|
56 | 69 | @end
|
57 | 70 |
|
| 71 | +/// The codec used by FLTVideoPlayerApi. |
| 72 | +NSObject<FlutterMessageCodec> *FLTVideoPlayerApiGetCodec(void); |
| 73 | + |
58 | 74 | @protocol FLTVideoPlayerApi
|
59 | 75 | - (void)initialize:(FlutterError *_Nullable *_Nonnull)error;
|
60 |
| -- (nullable FLTTextureMessage *)create:(FLTCreateMessage *)input |
| 76 | +- (nullable FLTTextureMessage *)create:(FLTCreateMessage *)msg |
61 | 77 | 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 |
| 78 | +- (void)dispose:(FLTTextureMessage *)msg error:(FlutterError *_Nullable *_Nonnull)error; |
| 79 | +- (void)setLooping:(FLTLoopingMessage *)msg error:(FlutterError *_Nullable *_Nonnull)error; |
| 80 | +- (void)setVolume:(FLTVolumeMessage *)msg error:(FlutterError *_Nullable *_Nonnull)error; |
| 81 | +- (void)setPlaybackSpeed:(FLTPlaybackSpeedMessage *)msg |
66 | 82 | error:(FlutterError *_Nullable *_Nonnull)error;
|
67 |
| -- (void)play:(FLTTextureMessage *)input error:(FlutterError *_Nullable *_Nonnull)error; |
68 |
| -- (nullable FLTPositionMessage *)position:(FLTTextureMessage *)input |
| 83 | +- (void)play:(FLTTextureMessage *)msg error:(FlutterError *_Nullable *_Nonnull)error; |
| 84 | +- (nullable FLTPositionMessage *)position:(FLTTextureMessage *)msg |
69 | 85 | 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 |
| 86 | +- (void)seekTo:(FLTPositionMessage *)msg error:(FlutterError *_Nullable *_Nonnull)error; |
| 87 | +- (void)pause:(FLTTextureMessage *)msg error:(FlutterError *_Nullable *_Nonnull)error; |
| 88 | +- (void)setMixWithOthers:(FLTMixWithOthersMessage *)msg |
73 | 89 | error:(FlutterError *_Nullable *_Nonnull)error;
|
74 | 90 | @end
|
75 | 91 |
|
76 | 92 | extern void FLTVideoPlayerApiSetup(id<FlutterBinaryMessenger> binaryMessenger,
|
77 |
| - id<FLTVideoPlayerApi> _Nullable api); |
| 93 | + NSObject<FLTVideoPlayerApi> *_Nullable api); |
78 | 94 |
|
79 | 95 | NS_ASSUME_NONNULL_END
|
0 commit comments