MSFKDeviceManagerDelegate Protocol Reference
| Conforms to | NSObject |
| Declared in | MSFKDeviceManager.h |
Tasks
-
– deviceManagerDidConnect: -
– deviceManager:didFailToConnectWithError: -
– deviceManager:didDisconnectWithError: -
– deviceManager:didConnectToFlintApplication:launchedApplication: -
– deviceManager:didFailToConnectToApplicationWithError: -
– deviceManager:didDisconnectFromApplicationWithError: -
– deviceManager:didFailToStopApplicationWithError: -
– deviceManager:volumeDidChangeToLevel:isMuted:
Instance Methods
deviceManager:didConnectToFlintApplication:launchedApplication:
Called when an application has been launched or joined.
- (void)deviceManager:(MSFKDeviceManager *)deviceManager didConnectToFlintApplication:(MSFKApplicationMetadata *)applicationMetadata launchedApplication:(BOOL)launchedApplicationParameters
- 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.hdeviceManager:didDisconnectFromApplicationWithError:
Called when disconnected from the current application.
- (void)deviceManager:(MSFKDeviceManager *)deviceManager didDisconnectFromApplicationWithError:(NSError *)errorDiscussion
Called when disconnected from the current application.
Declared In
MSFKDeviceManager.hdeviceManager:didDisconnectWithError:
Called when the connection to the device has been terminated.
- (void)deviceManager:(MSFKDeviceManager *)deviceManager didDisconnectWithError:(NSError *)errorParameters
- 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.hdeviceManager:didFailToConnectToApplicationWithError:
Called when connecting to an application fails.
- (void)deviceManager:(MSFKDeviceManager *)deviceManager didFailToConnectToApplicationWithError:(NSError *)errorParameters
- deviceManager
The device manager.
- error
The error that caused the failure.
Discussion
Called when connecting to an application fails.
Declared In
MSFKDeviceManager.hdeviceManager:didFailToConnectWithError:
Called when the connection to the device has failed.
- (void)deviceManager:(MSFKDeviceManager *)deviceManager didFailToConnectWithError:(NSError *)errorParameters
- 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.hdeviceManager:didFailToStopApplicationWithError:
Called when a stop application request fails.
- (void)deviceManager:(MSFKDeviceManager *)deviceManager didFailToStopApplicationWithError:(NSError *)errorParameters
- deviceManager
The device manager.
- error
The error that caused the failure.
Discussion
Called when a stop application request fails.
Declared In
MSFKDeviceManager.hdeviceManager:volumeDidChangeToLevel:isMuted:
Called whenever the volume changes.
- (void)deviceManager:(MSFKDeviceManager *)deviceManager volumeDidChangeToLevel:(float)volumeLevel isMuted:(BOOL)isMutedParameters
- volumeLevel
The current device volume level.
- isMuted
The current device mute state.
Discussion
Called whenever the volume changes.
Declared In
MSFKDeviceManager.hdeviceManagerDidConnect:
Called when a connection has been established to the device.
- (void)deviceManagerDidConnect:(MSFKDeviceManager *)deviceManagerParameters
- deviceManager
The device manager.
Discussion
Called when a connection has been established to the device.
Declared In
MSFKDeviceManager.h