ACTrainingDelegate

@objc
public protocol ACTrainingDelegate

Delegate used to communicate training status.

  • Training completed succesfully.

    The implementor should save the device.

    Declaration

    Swift

    func didCompleteTraining(identifier: Any?, device: ACMobileDevice)

    Parameters

    identifier

    Application identifier used to identify the device being trained.

    device

    The device being trained.

  • Training failed.

    Declaration

    Swift

    func didFailToCompleteTraining(identifier: Any?, device: ACMobileDevice, error: Error?)

    Parameters

    identifier

    Application identifier used to identify the device being trained.

    device

    The device being trained.