Assets/Watson/Scripts/Utilities/Config.cs
/// <summary>
/// Gets an API key by service ID if it exists.
/// </summary>
/// <param name="serviceID"></param>
/// <returns></returns>
Gets an API key by service ID if it exists.
Gets an API key by service ID if it exists .
public string GetAPIKey(string serviceID)
        {
            foreach (var info in m_Credentials)
                if (info.m_ServiceID == serviceID)
                    return info.m_Apikey;
            return null;
        }
public string GetAPIKey ( string serviceID ) { foreach ( var info in m_Credentials ) if ( info . m_ServiceID == serviceID ) return info . m_Apikey ; return null ; }
Gets an API key by service ID if it exists.
Gets an API key by service ID if it exists .
None
serviceID
string
None