mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-01 23:35:59 +00:00
22 lines
739 B
Objective-C
22 lines
739 B
Objective-C
//
|
|
// ConnectionCallbacks.h
|
|
// Moonlight
|
|
//
|
|
// Created by Cameron Gutman on 11/1/20.
|
|
// Copyright © 2020 Moonlight Game Streaming Project. All rights reserved.
|
|
//
|
|
|
|
@protocol ConnectionCallbacks <NSObject>
|
|
|
|
- (void) connectionStarted;
|
|
- (void) connectionTerminated:(int)errorCode;
|
|
- (void) stageStarting:(const char*)stageName;
|
|
- (void) stageComplete:(const char*)stageName;
|
|
- (void) stageFailed:(const char*)stageName withError:(int)errorCode portTestFlags:(int)portTestFlags;
|
|
- (void) launchFailed:(NSString*)message;
|
|
- (void) rumble:(unsigned short)controllerNumber lowFreqMotor:(unsigned short)lowFreqMotor highFreqMotor:(unsigned short)highFreqMotor;
|
|
- (void) connectionStatusUpdate:(int)status;
|
|
- (void) videoContentShown;
|
|
|
|
@end
|