Miracast card

A Miracast card can be invoked to discover and establish a connection to a nearby Miracast device. You can invoke the Miracast card in two modes: play on and show on.

Showing content on a Miracast device

In ShowOn mode, the application is not aware of the streaming. The content is streamed to a Miracast device in the native resolution of the BlackBerry device. Here are the invocation attributes you use to invoke the Miracast card to show your content on a Miracast device:

Attribute Value
Target ID

sys.miracastviewer

Action

bb.action.VIEW

MIME type application/vnd.rim.miracast.showon

Playing content on a Miracast device

In PlayOn mode, your application renders content to a Miracast device at a resolution that can be different from the native resolution of the BlackBerry device. Here are the invocation attributes you use to invoke the Miracast card to play your content on a Miracast device:

Attribute Value
Target ID

sys.miracastviewer

Action

bb.action.VIEW

MIME type application/vnd.rim.miracast.playon