~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/maccore/src/AVFoundation/Enums.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// Copyright 2009, Novell, Inc.
2
2
// Copyright 2010, Novell, Inc.
 
3
// Copyright 2011, 2012 Xamarin Inc.
3
4
//
4
5
// Permission is hereby granted, free of charge, to any person obtaining
5
6
// a copy of this software and associated documentation files (the
35
36
                Max = 0x7F
36
37
        }
37
38
 
38
 
        // Just to disable generating the public ctor
39
 
        public static partial class AVAudioSettings {
40
 
        }
41
 
 
42
39
        [Since (4,0)]
43
40
        public enum AVAssetExportSessionStatus {
44
41
                Unknown,
132
129
                DeviceInUseByAnotherApplication = -11815,
133
130
                DeviceLockedForConfigurationByAnotherProcess = -11817,
134
131
                SessionWasInterrupted = -11818,
 
132
                MediaServicesWereReset = -11819,
 
133
                ExportFailed = -11820,
135
134
                DecodeFailed = -11821,
136
 
                ExportFailed = -11820,
 
135
                InvalidSourceMedia = - 11822,
137
136
                FileAlreadyExists = -11823,
138
 
                InvalidSourceMedia = - 11822,
139
137
                CompositionTrackSegmentsNotContiguous = -11824,
140
 
                ContentIsProtected = -11831,
141
 
                FailedToParse = -11829,
142
 
                FormatNotRecognized = -11828,
143
138
                InvalidCompositionTrackSegmentDuration = -11825,
144
139
                InvalidCompositionTrackSegmentSourceStartTime= -11826,
145
140
                InvalidCompositionTrackSegmentSourceDuration = -11827,
 
141
                FormatNotRecognized = -11828,
 
142
                FailedToParse = -11829,
146
143
                MaximumStillImageCaptureRequestsExceeded = 11830,
 
144
                ContentIsProtected = -11831,
147
145
                NoImageAtTime = -11832,
148
146
                DecoderNotFound = -11833,
149
147
                EncoderNotFound = -11834,
150
148
                ContentIsNotAuthorized = -11835,
 
149
                ApplicationIsNotAuthorized = -11836,
151
150
                DeviceIsNotAvailableInBackground = -11837,
152
151
                OperationNotSupportedForAsset = -11838,
153
152
                DecoderTemporarilyUnavailable = -11839,
154
153
                EncoderTemporarilyUnavailable = -11840,
155
154
                InvalidVideoComposition = -11841,
156
 
                MediaServicesWereReset = -11820,
157
155
                //[Since (5,1)]
158
 
                InvalidOutputURLPathExtension = -11843
 
156
                ReferenceForbiddenByReferencePolicy = -11842,
 
157
                InvalidOutputURLPathExtension = -11843,
 
158
                ScreenCaptureFailed = -11844,
 
159
                DisplayWasDisabled = -11845,
 
160
                TorchLevelUnavailable = -11846,
 
161
                OperationInterrupted = -11847,
 
162
                IncompatibleAsset = -11848,
 
163
                FailedToLoadMediaData = -11849,
 
164
                ServerIncorrectlyConfigured = -11850,                   
159
165
        }
160
166
 
161
167
        [Since (4,0)]
198
204
        public enum AVAssetImageGeneratorResult {
199
205
                Succeeded, Failed, Cancelled
200
206
        }
 
207
 
 
208
        public enum AVCaptureDeviceTransportControlsPlaybackMode {
 
209
                NotPlaying, Playing
 
210
        }
 
211
 
 
212
        public enum AVVideoFieldMode {
 
213
                Both, TopOnly, BottomOnly, Deinterlace
 
214
        }
 
215
 
 
216
        [Flags]
 
217
        public enum AVAudioSessionInterruptionOptions {
 
218
                ShouldResume = 1
 
219
        }
 
220
 
 
221
        [Flags]
 
222
        public enum AVAudioSessionSetActiveOptions {
 
223
                NotifyOthersOnDeactivation = 1
 
224
        }
 
225
 
 
226
        public enum AVAudioSessionPortOverride {
 
227
                None = 0,
 
228
                Speaker = 0x73706b72 // 'spkr'
 
229
        }
 
230
 
 
231
        public enum AVAudioSessionRouteChangeReason {
 
232
                Unknown,
 
233
                NewDeviceAvailable,
 
234
                OldDeviceUnavailable,
 
235
                CategoryChange,
 
236
                Override,
 
237
                WakeFromSleep,
 
238
                NoSuitableRouteForCategory
 
239
        }
 
240
 
 
241
        [Flags]
 
242
        public enum AVAudioSessionCategoryOptions {
 
243
                MixWithOthers = 1,
 
244
                DuckOthers = 2,
 
245
                AllowBluetooth = 4,
 
246
                DefaultToSpeaker = 8 
 
247
        }
 
248
 
 
249
        public enum AVAudioSessionInterruptionType  {
 
250
                Ended, Began
 
251
        }
201
252
}