ot::MeshCoP::NetworkNameManager::SetDomainName() method
Sets the Thread Domain Name.
Arguments
aNameString
A pointer to a string character array. Must be null terminated.
Return value
kErrorNone Successfully set the Thread Domain Name. kErrorInvalidArgs Given name is too long.