This is the 5748th most frequent Japanese word.
とかいう
"とかいう" means "something like" or "called," used to refer to a term, name, or concept uncertainly or conversationally.
In this sentence, 'とかいう' is used to quote someone’s statement mentioning an unknown or somewhat unsure subject, here referring to a person named Smith.
彼は「スミスさんとかいう人に会った」と言っていました。
He said, 'I met a person called Smith.'
Here, 'とかいう' is used to introduce something whose detail or importance is not emphasized, in this case, a gift.
最近、プレゼントとかいうものをもらったけど、中身はまだ開けていない。
Recently, I received something called a gift, but I haven’t opened it yet.
The phrase 'とかいう' introduces the individual dubbed King, conveying hearsay or indirect knowledge.