Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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 ?

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