Contents

DDDeviceProtocolToString(_:)

Returns human-readable text for the specified protocol identifier.

Declaration

func DDDeviceProtocolToString(_ inValue: DDDevice.Protocol) -> String

Parameters

  • inValue:

    A device-protocol identifier to convert to text.

Return Value

A textual value for the specified device protocol.

Discussion

Your extension can use this function for logging.

See Also

Device information