Conforms to NSObject
Declared in MSFKDeviceManager.h

Overview

The delegate for MSFKDeviceManager notifications.

@ingroup DeviceControl

Instance Methods

deviceManager:didConnectToFlintApplication:launchedApplication:

Called when an application has been launched or joined.

- (void)deviceManager:(MSFKDeviceManager *)deviceManager didConnectToFlintApplication:(MSFKApplicationMetadata *)applicationMetadata launchedApplication:(BOOL)launchedApplication

Parameters

applicationMetadata

Metadata about the application.

launchedApplication

YES if the application was launched as part of the connection, or NO if the application was already running and was joined.

Discussion

Called when an application has been launched or joined.

Declared In

MSFKDeviceManager.h

deviceManager:didDisconnectFromApplicationWithError:

Called when disconnected from the current application.

- (void)deviceManager:(MSFKDeviceManager *)deviceManager didDisconnectFromApplicationWithError:(NSError *)error

Discussion

Called when disconnected from the current application.

Declared In

MSFKDeviceManager.h

deviceManager:didDisconnectWithError:

Called when the connection to the device has been terminated.

- (void)deviceManager:(MSFKDeviceManager *)deviceManager didDisconnectWithError:(NSError *)error

Parameters

deviceManager

The device manager.

error

The error that caused the disconnection; nil if there was no error (e.g. intentional disconnection).

Discussion

Called when the connection to the device has been terminated.

Declared In

MSFKDeviceManager.h

deviceManager:didFailToConnectToApplicationWithError:

Called when connecting to an application fails.

- (void)deviceManager:(MSFKDeviceManager *)deviceManager didFailToConnectToApplicationWithError:(NSError *)error

Parameters

deviceManager

The device manager.

error

The error that caused the failure.

Discussion

Called when connecting to an application fails.

Declared In

MSFKDeviceManager.h

deviceManager:didFailToConnectWithError:

Called when the connection to the device has failed.

- (void)deviceManager:(MSFKDeviceManager *)deviceManager didFailToConnectWithError:(NSError *)error

Parameters

deviceManager

The device manager.

error

The error that caused the connection to fail.

Discussion

Called when the connection to the device has failed.

Declared In

MSFKDeviceManager.h

deviceManager:didFailToStopApplicationWithError:

Called when a stop application request fails.

- (void)deviceManager:(MSFKDeviceManager *)deviceManager didFailToStopApplicationWithError:(NSError *)error

Parameters

deviceManager

The device manager.

error

The error that caused the failure.

Discussion

Called when a stop application request fails.

Declared In

MSFKDeviceManager.h

deviceManager:volumeDidChangeToLevel:isMuted:

Called whenever the volume changes.

- (void)deviceManager:(MSFKDeviceManager *)deviceManager volumeDidChangeToLevel:(float)volumeLevel isMuted:(BOOL)isMuted

Parameters

volumeLevel

The current device volume level.

isMuted

The current device mute state.

Discussion

Called whenever the volume changes.

Declared In

MSFKDeviceManager.h

deviceManagerDidConnect:

Called when a connection has been established to the device.

- (void)deviceManagerDidConnect:(MSFKDeviceManager *)deviceManager

Parameters

deviceManager

The device manager.

Discussion

Called when a connection has been established to the device.

Declared In

MSFKDeviceManager.h