mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-02-16 18:41:13 +00:00
23 lines
774 B
Objective-C
23 lines
774 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) setHdrMode:(bool)enabled;
|
|
- (void) videoContentShown;
|
|
|
|
@end
|