top

MEDIASHARING.MEDIAPROVIDERDISCOVERYCALLBACK

This class defines methods that are called when a new media provider is discovered or an existing media provider is disappeared.

Add the following line for mediasharing.MediaProviderDiscoveryCallback class into a html file your own :

  script type="text/javascript" src="$MANAGER_WIDGET/Common/webapi/1.0/serviceapis.js">/script>

You can declare mediasharing.MediaProviderDiscoveryCallback class like this :

  ex) var mediasharing = serviceapis.mediasharing.MediaProviderDiscoveryCallback;


Methods

onmediaprovideradded

Description
This Callback is called when a new media provider discovered. *MediaProviderDiscoveryCallback 매소드
Parameters
■Mediaprovider
  - (in MediaProvider) newly discovered mediaprovider
Return■Void
Emulator SupportY
SDK ConstraintNone
Example
.

onmediaproviderremoved

Description
This Callback called when an existing media provider disappeared. *MediaProviderDiscoveryCallback 매소드
Parameters
■Mediaprovider
  - (in MediaProvider) currently disappeared mediaprovider
Return■Void
Emulator SupportY
SDK ConstraintNone
Example
.