CloudMediaProvider.OnCreateCloudMediaSurfaceController Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a CloudMediaSurfaceController used for rendering the preview of media items, or null if preview rendering is not supported.
[Android.Runtime.Register("onCreateCloudMediaSurfaceController", "(Landroid/os/Bundle;Landroid/provider/CloudMediaProvider$CloudMediaSurfaceStateChangedCallback;)Landroid/provider/CloudMediaProvider$CloudMediaSurfaceController;", "GetOnCreateCloudMediaSurfaceController_Landroid_os_Bundle_Landroid_provider_CloudMediaProvider_CloudMediaSurfaceStateChangedCallback_Handler", ApiSince=33)]
public virtual Android.Provider.CloudMediaProvider.CloudMediaSurfaceController? OnCreateCloudMediaSurfaceController(Android.OS.Bundle config, Android.Provider.CloudMediaProvider.CloudMediaSurfaceStateChangedCallback callback);
[<Android.Runtime.Register("onCreateCloudMediaSurfaceController", "(Landroid/os/Bundle;Landroid/provider/CloudMediaProvider$CloudMediaSurfaceStateChangedCallback;)Landroid/provider/CloudMediaProvider$CloudMediaSurfaceController;", "GetOnCreateCloudMediaSurfaceController_Landroid_os_Bundle_Landroid_provider_CloudMediaProvider_CloudMediaSurfaceStateChangedCallback_Handler", ApiSince=33)>]
abstract member OnCreateCloudMediaSurfaceController : Android.OS.Bundle * Android.Provider.CloudMediaProvider.CloudMediaSurfaceStateChangedCallback -> Android.Provider.CloudMediaProvider.CloudMediaSurfaceController
override this.OnCreateCloudMediaSurfaceController : Android.OS.Bundle * Android.Provider.CloudMediaProvider.CloudMediaSurfaceStateChangedCallback -> Android.Provider.CloudMediaProvider.CloudMediaSurfaceController
Parameters
- config
- Bundle
The configuration bundle, including ExtraLoopingPlaybackEnabled and ExtraSurfaceControllerAudioMuteEnabled. This value cannot be null.
The callback used to send surface state updates to the picker launched by ActionPickImages. This value cannot be null.
Returns
A preview-surface controller when supplied by a subclass. The base method returns null.
- Attributes
Remarks
Returns a CloudMediaSurfaceController used for rendering the preview of media items, or null if preview rendering is not supported.
Android reference for android.provider.CloudMediaProvider.onCreateCloudMediaSurfaceController.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.