ISelectMediaActionErrorArguments interface

This object represents the data returned by the native media picker API.

Extends

Properties

data

Submit Action data that is passed to internal action handler to ensure forms do not clear.

error

Error codes specific to the Select Media Action.

media

media object returned media picker API

type

The type of Adaptive Card Action.

Property Details

data

Submit Action data that is passed to internal action handler to ensure forms do not clear.

data: any;

Property Value

any

error

Error codes specific to the Select Media Action.

error: {
        code: 'FileSelectionFailed' | 'FilesSelectedAreIncompatible';
    };

Property Value

{ code: 'FileSelectionFailed' | 'FilesSelectedAreIncompatible'; }

media

media object returned media picker API

media: ISelectMediaAttachment[] | undefined;

Property Value

ISelectMediaAttachment[] | undefined

type

The type of Adaptive Card Action.

type: 'VivaAction.SelectMedia';

Property Value

'VivaAction.SelectMedia'