Documentation Archive Developer
Search

AudioVideoBridging Changes for Swift

AudioVideoBridging

Modified AVB17221ACMPInterface
Declaration
From
class AVB17221ACMPInterface : AVB1722ControlInterface {
    @NSCopying var multicastDestinationAddress: AVBMACAddress { get }
     init(interface anInterface: AVBInterface)
    class func withInterface(_ anInterface: AVBInterface) -> AVB17221ACMPInterface
     init(interfaceNamed anInterfaceName: String)
    class func withInterfaceNamed(_ anInterfaceName: String) -> AVB17221ACMPInterface
    func setHandler(_ handler: AVB17221ACMPClient, forGUID targetGUID: UInt64) -> Bool
    func setHandler(_ handler: AVB17221ACMPClient, forEntityID targetEntityID: UInt64) -> Bool
    func removeHandler(forGUID targetGUID: UInt64)
    func removeHandler(forEntityID targetEntityID: UInt64)
    func sendACMPResponseMessage(_ message: AVB17221ACMPMessage) throws
    func sendACMPCommand(_ message: AVB17221ACMPMessage, completionHandler completionHandler: AudioVideoBridging.AVB17221ACMPInterfaceCompletion) -> Bool
}
To
class AVB17221ACMPInterface : AVB1722ControlInterface {
    @NSCopying var multicastDestinationAddress: AVBMACAddress { get }
     init(interface anInterface: AVBInterface)
    class func withInterface(_ anInterface: AVBInterface) -> AVB17221ACMPInterface
     init(interfaceNamed anInterfaceName: String)
    class func withInterfaceNamed(_ anInterfaceName: String) -> AVB17221ACMPInterface
    func setHandler(_ handler: AVB17221ACMPClient, forGUID targetGUID: UInt64) -> Bool
    func setHandler(_ handler: AVB17221ACMPClient, forEntityID targetEntityID: UInt64) -> Bool
    func removeHandler(forGUID targetGUID: UInt64)
    func removeHandler(forEntityID targetEntityID: UInt64)
    func sendACMPResponseMessage(_ message: AVB17221ACMPMessage) throws
    func sendACMPCommand(_ message: AVB17221ACMPMessage, completionHandler completionHandler: @escaping AudioVideoBridging.AVB17221ACMPInterfaceCompletion) -> Bool
}

Modified AVB17221ACMPInterface.sendACMPCommand(_: AVB17221ACMPMessage, completionHandler: AudioVideoBridging.AVB17221ACMPInterfaceCompletion) -> Bool
Declaration
From
func sendACMPCommand(_ message: AVB17221ACMPMessage, completionHandler completionHandler: AudioVideoBridging.AVB17221ACMPInterfaceCompletion) -> Bool
To
func sendACMPCommand(_ message: AVB17221ACMPMessage, completionHandler completionHandler: @escaping AudioVideoBridging.AVB17221ACMPInterfaceCompletion) -> Bool

Modified AVB17221AECPInterface
Declaration
From
class AVB17221AECPInterface : AVB1722ControlInterface {
     init?(interface anInterface: AVBInterface)
    class func withInterface(_ anInterface: AVBInterface) -> AVB17221AECPInterface?
     init?(interfaceNamed anInterfaceName: String)
    class func withInterfaceNamed(_ anInterfaceName: String) -> AVB17221AECPInterface?
    func setHandler(_ handler: AVB17221AECPClient, forGUID targetGUID: UInt64) -> Bool
    func setHandler(_ handler: AVB17221AECPClient, forEntityID targetEntityID: UInt64) -> Bool
    func removeHandler(forGUID targetGUID: UInt64)
    func removeHandler(forEntityID targetEntityID: UInt64)
    func setCommandHandler(_ handler: AVB17221AECPClient, forEntityID targetEntityID: UInt64) -> Bool
    func removeCommandHandler(forEntityID targetEntityID: UInt64)
    func setResponseHandler(_ handler: AVB17221AECPClient, forControllerEntityID controllerEntityID: UInt64) -> Bool
    func removeResponseHandler(forControllerEntityID controllerEntityID: UInt64)
    func sendCommand(_ message: AVB17221AECPMessage, to destMAC: AVBMACAddress, completionHandler completionHandler: AudioVideoBridging.AVB17221AECPInterfaceCompletion) -> Bool
    func sendResponse(_ message: AVB17221AECPMessage, to destMAC: AVBMACAddress) throws
}
To
class AVB17221AECPInterface : AVB1722ControlInterface {
     init?(interface anInterface: AVBInterface)
    class func withInterface(_ anInterface: AVBInterface) -> AVB17221AECPInterface?
     init?(interfaceNamed anInterfaceName: String)
    class func withInterfaceNamed(_ anInterfaceName: String) -> AVB17221AECPInterface?
    func setHandler(_ handler: AVB17221AECPClient, forGUID targetGUID: UInt64) -> Bool
    func setHandler(_ handler: AVB17221AECPClient, forEntityID targetEntityID: UInt64) -> Bool
    func removeHandler(forGUID targetGUID: UInt64)
    func removeHandler(forEntityID targetEntityID: UInt64)
    func setCommandHandler(_ handler: AVB17221AECPClient, forEntityID targetEntityID: UInt64) -> Bool
    func removeCommandHandler(forEntityID targetEntityID: UInt64)
    func setResponseHandler(_ handler: AVB17221AECPClient, forControllerEntityID controllerEntityID: UInt64) -> Bool
    func removeResponseHandler(forControllerEntityID controllerEntityID: UInt64)
    func sendCommand(_ message: AVB17221AECPMessage, to destMAC: AVBMACAddress, completionHandler completionHandler: @escaping AudioVideoBridging.AVB17221AECPInterfaceCompletion) -> Bool
    func sendResponse(_ message: AVB17221AECPMessage, to destMAC: AVBMACAddress) throws
}

Modified AVB17221AECPInterface.sendCommand(_: AVB17221AECPMessage, to: AVBMACAddress, completionHandler: AudioVideoBridging.AVB17221AECPInterfaceCompletion) -> Bool
Declaration
From
func sendCommand(_ message: AVB17221AECPMessage, to destMAC: AVBMACAddress, completionHandler completionHandler: AudioVideoBridging.AVB17221AECPInterfaceCompletion) -> Bool
To
func sendCommand(_ message: AVB17221AECPMessage, to destMAC: AVBMACAddress, completionHandler completionHandler: @escaping AudioVideoBridging.AVB17221AECPInterfaceCompletion) -> Bool