Type Alias

TVUserIdentifier

A unique string for differentiating between accounts on Apple TV.

Declaration

typealias TVUserIdentifier = String

Discussion

This type stores an ASCII string containing no more than 64 characters. The string is not the same as the user's Apple ID, and you should never display it in your app's interface. It is a random string generated by the TVUserManager object and shared among the Apple TV devices on the user's HomeKit network. You use it to differentiate between different accounts on the same Apple TV.

See Also

Identifying the Current Apple TV User

var currentUserIdentifier: TVUserIdentifier?

A unique identifier representing the currently active Apple TV user.