Skip to content

Listen for the X icon action from the cast notification #73

@julianCast

Description

@julianCast

Hi again! I'm almost done!
Here is the thing...I'm able to successfully listen to the event from the STOP CASTING button using:

this._session.addUpdateListener(function listenerSession() {
   if (this._session.status === window.chrome.cast.SessionStatus.STOPPED) {  /* here *\ }

photo5789456323069457380

But I'm not able when I touch the X in the cast notification. As far as I understand that stop the session too.

photo5789456323069457381

Thanks !!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions