flutter_cast_framework_modern/ios/Classes/HostApis.h
gianlucaparadise 4e56530e63 Pigeon: Definitions for showCastDialog
- Generated Pigeons for `HostApis` in Android and iOS
2021-11-01 16:29:02 +01:00

28 lines
871 B
Objective-C

// Autogenerated from Pigeon (v1.0.8), do not edit directly.
// See also: https://pub.dev/packages/pigeon
#import <Foundation/Foundation.h>
@protocol FlutterBinaryMessenger;
@protocol FlutterMessageCodec;
@class FlutterError;
@class FlutterStandardTypedData;
NS_ASSUME_NONNULL_BEGIN
@class CastMessage;
@interface CastMessage : NSObject
@property(nonatomic, copy, nullable) NSString * namespace;
@property(nonatomic, copy, nullable) NSString * message;
@end
/// The codec used by CastApi.
NSObject<FlutterMessageCodec> *CastApiGetCodec(void);
@protocol CastApi
- (void)sendMessageMessage:(CastMessage *)message error:(FlutterError *_Nullable *_Nonnull)error;
- (void)showCastDialogWithError:(FlutterError *_Nullable *_Nonnull)error;
@end
extern void CastApiSetup(id<FlutterBinaryMessenger> binaryMessenger, NSObject<CastApi> *_Nullable api);
NS_ASSUME_NONNULL_END