Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

iOS Heartbeat friendlyname is always media.name

Avatar

Level 1

I am using iOS heartbeat sdk (2.1.0).

[ADBMediaHeartbeat createMediaObjectWithName: mediaName

                                                                mediaId: mediaId

                                                                 length: mediaLength

                                                             streamType: mediaType];

I didn't explicitly set the a.media.friendlyName but I noticed that friendly value is same as mediaName. Is it possible to set a different value for media name and media friendlyname ?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

Hello vijayv90673263​,

mediaName is mapped to a.media.friendlyName and mediaId is mapped to a.media.name AA variables respectively. If you want to use a different a.media.name then that should be changed using mediaId in the method signature above.

Please let us know if you have any further questions.

Regards,

Himanshu

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Hello vijayv90673263​,

mediaName is mapped to a.media.friendlyName and mediaId is mapped to a.media.name AA variables respectively. If you want to use a different a.media.name then that should be changed using mediaId in the method signature above.

Please let us know if you have any further questions.

Regards,

Himanshu